]> git.pld-linux.org Git - packages/albumshaper.git/blob - albumshaper.spec
- tabs in preamble
[packages/albumshaper.git] / albumshaper.spec
1 %define         _alpha  a2
2 Summary:        Photo album creation and modification application
3 Summary(pl.UTF-8):      Program do tworzenia i modyfikacji albumów fotograficznych
4 Name:           albumshaper
5 Version:        1.0
6 Release:        0.%{_alpha}.1
7 License:        GPL v2
8 Group:          Applications/Graphics
9 Source0:        http://dl.sourceforge.net/albumshaper/%{name}_%{version}%{_alpha}_source.tar.bz2
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 %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ł.
27
28 %prep
29 %setup -q -n %{name}_%{version}%{_alpha}_source
30 %patch0 -p1
31
32 %build
33 export QTDIR=%{_prefix}
34 qmake
35 %{__make} \
36         CXX="%{__cxx}" \
37         CXXFLAGS="%{rpmcflags} -pipe -Wall -W -DQT_NO_DEBUG"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images}
42
43 install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images
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}
This page took 0.060935 seconds and 3 git commands to generate.