]> git.pld-linux.org Git - packages/album.git/commitdiff
- new spec
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 24 May 2002 06:25:43 +0000 (06:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    album.spec -> 1.1

album.spec [new file with mode: 0644]

diff --git a/album.spec b/album.spec
new file mode 100644 (file)
index 0000000..e916cbf
--- /dev/null
@@ -0,0 +1,55 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       HTML photo album generator
+Summary(pl):   Generator albumów foto
+Name:          album
+Version:       2.35
+Release:       1
+License:       distributable
+Group:         Applications/Graphics
+Source0:       http://marginalhacks.com/bin/%{name}.tar.gz
+Patch0:                %{name}-OS.patch
+URL:           http://marginalhacks.com/Hacks/album/
+Buildarch:     noarch
+BuildRequires: rpm-perlprov >= 3.0.3-18
+Requires:      ImageMagick
+%requires_eq   perl
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An HTML photo album generator that supports themes. It takes a
+directory of images and creates all the thumbnails and HTML that you
+need. It's fast, easy to use, and very powerful.
+
+Features:
+    - You can use themes to choose or redesign the album "look and feel."
+    - Recursively descends directories to make a hierarchy of photo albums
+    - Maintains aspect ratio while constraining size of thumbnails
+
+%description -l pl
+
+
+%prep
+%setup -qc %{name}-%{version}
+REAL_VERSION=`./album --version | awk '/album version/ { print $5 }'`
+if [ "$REAL_VERSION" != "%{version}" ] ; then
+       echo "Package/Source version mismatch!"
+       exit 1
+fi
+%patch0 -p1
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+
+install album caption_index  $RPM_BUILD_ROOT%{_bindir}
+cp -R Themes $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
This page took 0.071541 seconds and 4 git commands to generate.