]> git.pld-linux.org Git - packages/album.git/blob - album.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/album.git] / album.spec
1 Summary:        HTML photo album generator
2 Summary(pl.UTF-8):      Generator albumów fotograficznych w HTML-u
3 Name:           album
4 Version:        4.07
5 Release:        1
6 License:        distributable
7 Group:          Applications/Graphics
8 Source0:        http://marginalhacks.com/bin/%{name}.tar.gz
9 # Source0-md5:  f607cb16da7c24b4deadb41bcb434fdc
10 URL:            http://marginalhacks.com/Hacks/album/
11 BuildRequires:  rpm-perlprov >= 3.0.3-18
12 Requires:       ImageMagick
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 An HTML photo album generator that supports themes. It takes a
18 directory of images and creates all the thumbnails and HTML that you
19 need. It's fast, easy to use, and very powerful.
20
21 Features:
22 - You can use themes to choose or redesign the album "look and feel."
23 - Recursively descends directories to make a hierarchy of photo albums
24 - Maintains aspect ratio while constraining size of thumbnails
25
26 %description -l pl.UTF-8
27 Generator albumów fotograficznych z obsługą motywów. Przyjmuje katalog
28 ze zdjęciami i tworzy wszystkie potrzebne miniaturki oraz pliki HTML.
29 Jest szybki, prosty w użyciu i ma duże możliwości.
30
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}/album
60 %{_mandir}/man1/album.1*
This page took 0.029619 seconds and 4 git commands to generate.