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