]>
Commit | Line | Data |
---|---|---|
c91ab5dd | 1 | %define _alpha a2 |
ddb83c88 | 2 | Summary: Photo album creation and modification application |
75630e31 | 3 | Summary(pl.UTF-8): Program do tworzenia i modyfikacji albumów fotograficznych |
ddb83c88 | 4 | Name: albumshaper |
c91ab5dd TO |
5 | Version: 1.0 |
6 | Release: 0.%{_alpha}.1 | |
ddb83c88 TO |
7 | License: GPL v2 |
8 | Group: Applications/Graphics | |
0cc59da3 | 9 | Source0: http://dl.sourceforge.net/albumshaper/%{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 | ||
baa94450 JR |
22 | %description -l pl.UTF-8 |
23 | AlbumShaper jest hierarchicznym programem klasy "przenieś i upuść" | |
24 | służącym do tworzenia i modyfikacji albumów fotograficznych. Oparty o | |
25 | bibliotekę Qt AlbumShaper jest rozwiązaniem wieloplatformowym służącym | |
26 | do zarządzania zbiorami cyfrowych zdjęć pochodzących z różnych źródeł. | |
570ee360 | 27 | |
ddb83c88 | 28 | %prep |
c91ab5dd | 29 | %setup -q -n %{name}_%{version}%{_alpha}_source |
ddb83c88 TO |
30 | %patch0 -p1 |
31 | ||
32 | %build | |
b6cb4d4f | 33 | export QTDIR=%{_prefix} |
ddb83c88 | 34 | qmake |
b6cb4d4f JB |
35 | %{__make} \ |
36 | CXX="%{__cxx}" \ | |
37 | CXXFLAGS="%{rpmcflags} -pipe -Wall -W -DQT_NO_DEBUG" | |
ddb83c88 TO |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images} | |
42 | ||
7e74d2a4 | 43 | install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images |
ddb83c88 TO |
44 | install bin/AlbumShaper.bin $RPM_BUILD_ROOT%{_bindir}/albumshaper |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README docs/{authors,bugs,changelog,credits} docs/html | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_datadir}/%{name} |