]> git.pld-linux.org Git - packages/album.git/blob - album.spec
- up to 4.06
[packages/album.git] / album.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        HTML photo album generator
3 Summary(pl.UTF-8):      Generator albumów fotograficznych w HTML-u
4 Name:           album
5 Version:        4.06
6 Release:        1
7 License:        distributable
8 Group:          Applications/Graphics
9 Source0:        http://marginalhacks.com/bin/%{name}.tar.gz
10 # Source0-md5:  be7af1703d7912bb80dae32b049ad621
11 URL:            http://marginalhacks.com/Hacks/album/
12 BuildRequires:  rpm-perlprov >= 3.0.3-18
13 Requires:       ImageMagick
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 An HTML photo album generator that supports themes. It takes a
19 directory of images and creates all the thumbnails and HTML that you
20 need. It's fast, easy to use, and very powerful. Features:
21 - You can use themes to choose or redesign the album "look and feel."
22 - Recursively descends directories to make a hierarchy of photo albums
23 - Maintains aspect ratio while constraining size of thumbnails
24
25 %description -l pl.UTF-8
26 Generator albumów fotograficznych z obsługą motywów. Przyjmuje
27 katalog ze zdjęciami i tworzy wszystkie potrzebne miniaturki oraz
28 pliki HTML. Jest szybki, prosty w użyciu i ma duże możliwości.
29 Możliwości:
30 - pozwala na używanie motywów do wybrania lub zmiany "look and feel"
31   albumu
32 - rekurencyjnie przegląda katalogi tworząc hierarchię albumów
33   fotograficznych
34 - zachowuje proporcje przy ograniczaniu rozmiaru miniaturek.
35
36 %prep
37 %setup -q
38 REAL_VERSION=`./album --version 2>&1 | grep '^This' | awk '/This\ is\ album/ { print $4 }'`
39 if [ "$REAL_VERSION" != "v%{version}" ] ; then
40         echo "Package/Source version mismatch!"
41         exit 1
42 fi
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
47
48 install album $RPM_BUILD_ROOT%{_bindir}
49 install album.1 $RPM_BUILD_ROOT%{_mandir}/man1
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Docs/* License.txt
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/album.1*
This page took 0.067268 seconds and 4 git commands to generate.