From: kloczek Date: Sun, 22 Sep 2002 15:09:20 +0000 (+0000) Subject: - partialy rewrited but NYF. X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbbgallery.git;a=commitdiff_plain;h=1b928ce85aa23142579ed9193f7b7d1ea428ae2a - partialy rewrited but NYF. Changed files: bbgallery.spec -> 1.2 --- diff --git a/bbgallery.spec b/bbgallery.spec index e905498..5b7eff9 100644 --- a/bbgallery.spec +++ b/bbgallery.spec @@ -1,68 +1,50 @@ -# ---------------------------------------------------------------------- -# Copyright (C) 2001 Bodo Bauer -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; either version 2 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, -# MA 02111-1307, USA. -# ---------------------------------------------------------------------- - -Name: bbgallery -Version: 1.1.0 -Release: 0 -Vendor: Bodo Bauer -Distribution: Bodo Bauer -Copyright: GPL -Source: bbgallery-%{version}.tar.bz2 -BuildRoot: /var/tmp/%{name}-%{version}-root Summary: HTML Gallery Creator Script +Name: bbgallery +Version: 1.1.0 +Release: 1 +License: GPL Group: BB/html +Source0: ftp://ftp.bb-zone.com/pub/bbgallery/%{name}-%{version}.tar.bz2 +URL: http://www.bb-zone.com/zope/bbzone/projects/bbgallery/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: bbpic %description -BBGallery is a small Perl script generating a number of HTML files from -jpeg images that make up a image gallery to browse with any html browser. -It uses The Gimp and Gimp-Perl to create thumbnails and to scale the -images. It offers the following features: - -* Thumbnail creation (size can be configured) -* Scaling images to a configurable size (optional) -* Links to full size image -* Meta galleries (optional) - (Galleries of galleries) -* Labels or text can be assigned to images and/or - galleries using simple text files. -* Easy installation and use -* No extra software needed to view galleries and - images on any plattform (ideal for archiving images) -* Automatic slideshow +BBGallery is a small Perl script generating a number of HTML files +from jpeg images that make up a image gallery to browse with any html +browser. It uses The Gimp and Gimp-Perl to create thumbnails and +to scale the images. It offers the following features: + +- Thumbnail creation (size can be configured) +- Scaling images to a configurable size (optional) +- Links to full size image +- Meta galleries (optional) (Galleries of galleries) +- Labels or text can be assigned to images and/or galleries using + simple text files. +- Easy installation and use +- No extra software needed to view galleries and images on any + plattform (ideal for archiving images) +- Automatic slideshow Requires Perl, Gimp and Perl-Gimp. %prep -%setup -n %{name}-%{version} +%setup -q %build -make bbgallery +%{__make} bbgallery %install -make install instroot=$RPM_BUILD_ROOT prefix=/usr +rm -rf $RPM_BUILD_ROOT + +%{__make} install instroot=$RPM_BUILD_ROOT prefix=%{_prefix} %files -%defattr(-,root,root) -%doc README COPYING CHANGELOG -/usr/bin/bbgallery -/usr/bin/JPG2jpg -/usr/lib/bbgallery/gimp_scale.pl +%defattr(644,root,root,755) +%doc README CHANGELOG +%attr(755,root,root) %{_bindir}/bbgallery +%attr(755,root,root) %{_bindir}/JPG2jpg +%{_libdir}/bbgallery %clean rm -rf $RPM_BUILD_ROOT