Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pnemec
Presenter
Presenter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Presenter.spec of Package Presenter
#norootforbuild Name: Presenter Version: 1.2. %define clay_version 2006_10_13 BuildRequires: zlib-devel libjpeg-devel libtiff-devel libexiv2-devel update-desktop-files libqt4-devel libqt4-x11 libqt4-sql gcc-c++ Mesa-devel joe %if %suse_version <= 1010 BuildRequires: libqt4-qt3support # neededforbuild libqt4-devel %endif URL: http://albumshaper.sourceforge.net/ Release: 1 License: GPL Source: clay_%clay_version.tar.bz2 #Source1: Reveal.desktop #sr #fix exiv2 includes Patch: clay-exiv2.patch Patch1: %name-paths.patch # #fix gl paths Patch2: %name-gl.patch # #fix hud paths Patch3: %name-hud-includes.patch # #fix installing path Patch4: common_pro.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Productivity/Graphics/Other Summary: OpenGL slideshow picture viewer.. %description Presenter is an OpenGL-based slideshow viewer with limited support for viewing details of how photos were taken. Numerous 3D and 2D transition effects are provided in this sleek cut down app. Authors: -------- Will Stokes <wstokes@gmail.com> %prep %setup -q -n clay_%clay_version %patch %patch1 %patch2 %patch3 %patch4 %build cd projects export QTDIR=/usr/lib/qt4 export PATH=${QTDIR}/bin:${PATH} qmake DESTDIR+=%{_bindir}/ VPATH=${RPM_BUILD_ROOT} Presenter.pro #there is problem with bin dir, make automaticly install binary at the end :( sed -i 's0\(^TARGET\s*=\s*\)/usr/bin/Presenter0\1${RPM_BUILD_ROOT}/usr/bin/Presenter0g' Makefile install -d ${RPM_BUILD_ROOT}/usr/bin make %install cd projects install -d ${RPM_BUILD_ROOT}%{_bindir} cd resources pushd %name install -m 0755 -d $RPM_BUILD_ROOT/usr/share/pixmaps/ install -m 0644 %{name}_64.png $RPM_BUILD_ROOT/usr/share/pixmaps/%{name}.png %suse_update_desktop_file -i %name Graphics Photography cd installedResources install -d $RPM_BUILD_ROOT/%{_datadir}/Presenter/resources/%{name}/installedResources cp -pr * $RPM_BUILD_ROOT/%{_datadir}/Presenter/resources/%{name}/installedResources/ popd pushd generalTools install -d $RPM_BUILD_ROOT/%{_datadir}/Presenter/resources/generalTools/installedResources cd installedResources cp -pr * $RPM_BUILD_ROOT/%{_datadir}/Presenter/resources/generalTools/installedResources #fix permisions find ${RPM_BUILD_ROOT}/usr/share/ -perm /222 -type f -exec chmod 444 {} + %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_bindir}/%name %{_datadir}/Presenter/* %dir %{_datadir}/Presenter %{_datadir}/applications/%name.desktop %{_datadir}/pixmaps/%name.png %{_datadir}/%{name}/ %changelog -n Presenter * Fri Jul 20 2007 - pnemec@suse.cz - some other fix with RPM_BUILD_ROOT * Mon Feb 26 2007 - pnemec@suse.cz - fix package to build inside RPM_BUILD_ROOT * Thu Dec 7 2006 - pnemec@suse.cz - package create with version 1.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor