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