]>
Commit | Line | Data |
---|---|---|
ddb83c88 TO |
1 | Summary: Photo album creation and modification application |
2 | Summary(pl): - | |
3 | Name: albumshaper | |
4 | Version: 1.0a2 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications/Graphics | |
45d064c3 | 8 | Source0: http://dl.sourceforge.net/%{name}/%{name}_%{version}_source.tar.bz2 |
ddb83c88 TO |
9 | # Source0-md5: 704199e8f3df8e3504a72574e6f0f11a |
10 | Patch0: %{name}-qmake.patch | |
11 | URL: http://albumshaper.sourceforge.net/ | |
12 | BuildRequires: qt-devel >= 3.0 | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | AlbumShaper is a drag-n-drop hierarchal photo album creation and | |
17 | modification application. Based on the Qt libraries AlbumShaper is a | |
18 | cross-platform solution for maintaining your collection of digital | |
19 | images from various sources. | |
20 | ||
21 | %prep | |
22 | %setup -q -n %{name}_%{version}_source | |
23 | %patch0 -p1 | |
24 | ||
25 | %build | |
26 | export QTDIR=%{_prefix}/X11R6 | |
27 | qmake | |
28 | %{__make} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images} | |
33 | ||
34 | install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images/ | |
35 | install bin/AlbumShaper.bin $RPM_BUILD_ROOT%{_bindir}/albumshaper | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README docs/{authors,bugs,changelog,credits} docs/html | |
43 | %attr(755,root,root) %{_bindir}/* | |
44 | %{_datadir}/%{name} |