]> git.pld-linux.org Git - packages/bbgallery.git/commitdiff
- partialy rewrited but NYF.
authorkloczek <kloczek@pld-linux.org>
Sun, 22 Sep 2002 15:09:20 +0000 (15:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bbgallery.spec -> 1.2

bbgallery.spec

index e905498fa67573b09ca494e5be6265e1f61b5b5b..5b7eff9385b5e0cc9f6f07322f64db3549145f36 100644 (file)
@@ -1,68 +1,50 @@
-# ----------------------------------------------------------------------
-# Copyright (C) 2001 Bodo Bauer <bb@bb-zone.com>
-#
-# 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
 Summary:       HTML Gallery Creator Script
+Name:          bbgallery
+Version:       1.1.0
+Release:       1
+License:       GPL
 Group:         BB/html
 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
 
 %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</A> 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</A> 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
 
 Requires Perl, Gimp and Perl-Gimp.
 
 %prep
-%setup -n %{name}-%{version}
+%setup -q
 
 %build
 
 %build
-make bbgallery
+%{__make} bbgallery
 
 %install
 
 %install
-make install instroot=$RPM_BUILD_ROOT prefix=/usr
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install instroot=$RPM_BUILD_ROOT prefix=%{_prefix}
 
 %files
 
 %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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.103042 seconds and 4 git commands to generate.