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