]> git.pld-linux.org Git - packages/album.git/blame - album.spec
- 4.07
[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
d6ffc46c 5Version: 4.07
263f57ea 6Release: 1
17dd896f
JK
7License: distributable
8Group: Applications/Graphics
9Source0: http://marginalhacks.com/bin/%{name}.tar.gz
d6ffc46c 10# Source0-md5: f607cb16da7c24b4deadb41bcb434fdc
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
d6ffc46c 20need. It's fast, easy to use, and very powerful.
21
22Features:
d345eb2f 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
17dd896f 26
24aecf1c 27%description -l pl.UTF-8
d6ffc46c 28Generator albumów fotograficznych z obsługą motywów. Przyjmuje katalog
29ze zdjęciami i tworzy wszystkie potrzebne miniaturki oraz pliki HTML.
30Jest szybki, prosty w użyciu i ma duże możliwości.
31
24aecf1c
JR
32Możliwości:
33- pozwala na używanie motywów do wybrania lub zmiany "look and feel"
d345eb2f 34 albumu
24aecf1c 35- rekurencyjnie przegląda katalogi tworząc hierarchię albumów
d345eb2f 36 fotograficznych
37- zachowuje proporcje przy ograniczaniu rozmiaru miniaturek.
17dd896f
JK
38
39%prep
5ee452de
AG
40%setup -q
41REAL_VERSION=`./album --version 2>&1 | grep '^This' | awk '/This\ is\ album/ { print $4 }'`
42if [ "$REAL_VERSION" != "v%{version}" ] ; then
17dd896f
JK
43 echo "Package/Source version mismatch!"
44 exit 1
45fi
17dd896f 46
17dd896f
JK
47%install
48rm -rf $RPM_BUILD_ROOT
28710536 49install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
17dd896f 50
4fa0dbef 51install album $RPM_BUILD_ROOT%{_bindir}
28710536 52install album.1 $RPM_BUILD_ROOT%{_mandir}/man1
17dd896f
JK
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
5ee452de 59%doc Docs/* License.txt
d6ffc46c 60%attr(755,root,root) %{_bindir}/album
07eb952c 61%{_mandir}/man1/album.1*
This page took 0.044944 seconds and 4 git commands to generate.