From: Tomek Orzechowski Date: Mon, 11 Aug 2003 13:47:21 +0000 (+0000) Subject: - new (alpha version) X-Git-Tag: help X-Git-Url: http://git.pld-linux.org/?p=packages%2Falbumshaper.git;a=commitdiff_plain;h=ddb83c88e6ba3de6f0242b1993b7db07ee06cf92 - new (alpha version) Changed files: albumshaper-qmake.patch -> 1.1 albumshaper.spec -> 1.1 --- ddb83c88e6ba3de6f0242b1993b7db07ee06cf92 diff --git a/albumshaper-qmake.patch b/albumshaper-qmake.patch new file mode 100644 index 0000000..91bcf2d --- /dev/null +++ b/albumshaper-qmake.patch @@ -0,0 +1,15 @@ +--- albumshaper/AlbumShaper.pro Wed Jun 11 06:19:09 2003 ++++ albumshaper/AlbumShaper.pro Mon Aug 11 15:18:12 2003 +@@ -4,10 +4,10 @@ + MOC_DIR = tmp + OBJECTS_DIR = tmp + +-unix:images.path = /usr/local/share/albumshaper/images ++unix:images.path = /usr/share/albumshaper/images + unix:images.files = bin/images/* + +-unix:target.path = /usr/local/bin ++unix:target.path = /usr/bin + unix:target.files = bin/AlbumShaper* + + unix:INSTALLS += images diff --git a/albumshaper.spec b/albumshaper.spec new file mode 100644 index 0000000..ab3e3d1 --- /dev/null +++ b/albumshaper.spec @@ -0,0 +1,44 @@ +Summary: Photo album creation and modification application +Summary(pl): - +Name: albumshaper +Version: 1.0a2 +Release: 0.1 +License: GPL v2 +Group: Applications/Graphics +Source0: http://dl.sourceforfe.net/%{name}/%{name}_%{version}_source.tar.bz2 +# Source0-md5: 704199e8f3df8e3504a72574e6f0f11a +Patch0: %{name}-qmake.patch +URL: http://albumshaper.sourceforge.net/ +BuildRequires: qt-devel >= 3.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +AlbumShaper is a drag-n-drop hierarchal photo album creation and +modification application. Based on the Qt libraries AlbumShaper is a +cross-platform solution for maintaining your collection of digital +images from various sources. + +%prep +%setup -q -n %{name}_%{version}_source +%patch0 -p1 + +%build +export QTDIR=%{_prefix}/X11R6 +qmake +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images} + +install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images/ +install bin/AlbumShaper.bin $RPM_BUILD_ROOT%{_bindir}/albumshaper + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README docs/{authors,bugs,changelog,credits} docs/html +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name}