]>
Commit | Line | Data |
---|---|---|
17dd896f | 1 | Summary: HTML photo album generator |
e440c630 | 2 | Summary(pl.UTF-8): Generator albumów fotograficznych w HTML-u |
17dd896f | 3 | Name: album |
d6ffc46c | 4 | Version: 4.07 |
263f57ea | 5 | Release: 1 |
17dd896f JK |
6 | License: distributable |
7 | Group: Applications/Graphics | |
8 | Source0: http://marginalhacks.com/bin/%{name}.tar.gz | |
d6ffc46c | 9 | # Source0-md5: f607cb16da7c24b4deadb41bcb434fdc |
17dd896f | 10 | URL: http://marginalhacks.com/Hacks/album/ |
17dd896f JK |
11 | BuildRequires: rpm-perlprov >= 3.0.3-18 |
12 | Requires: ImageMagick | |
de904f81 | 13 | BuildArch: noarch |
17dd896f JK |
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 | |
d6ffc46c | 19 | need. It's fast, easy to use, and very powerful. |
20 | ||
21 | Features: | |
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 | 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 | ||
24aecf1c JR |
31 | Moż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 |
40 | REAL_VERSION=`./album --version 2>&1 | grep '^This' | awk '/This\ is\ album/ { print $4 }'` | |
41 | if [ "$REAL_VERSION" != "v%{version}" ] ; then | |
17dd896f JK |
42 | echo "Package/Source version mismatch!" |
43 | exit 1 | |
44 | fi | |
17dd896f | 45 | |
17dd896f JK |
46 | %install |
47 | rm -rf $RPM_BUILD_ROOT | |
28710536 | 48 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
17dd896f | 49 | |
4fa0dbef | 50 | install album $RPM_BUILD_ROOT%{_bindir} |
28710536 | 51 | install album.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
17dd896f JK |
52 | |
53 | %clean | |
54 | rm -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* |