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