Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 7f2b2e4f195a1e433d7688f3ee382089 > files > 2

cthumb-4.2-8.1mdv2009.1.src.rpm

%define  version	4.2
%define  release	%mkrel 8
%define  subrel		1

Summary:	A program to generate Web picture albums
Name:		cthumb
Version:	%version
Release:	%release
License:	GPL
Group:		Networking/WWW
Source:		http://cthumb.sourceforge.net/cthumb-%{version}.tar.bz2
BuildRoot:	%_tmppath/%name-%version-buildroot
URL:		http://cthumb.sourceforge.net/
BuildArch:	noarch
Requires:	perl-base
Requires:	perl-HTML-Parser
Requires:	perl-MIME-tools
Requires:	perl-URI
Requires:	libjpeg
Requires:	netpbm


%description
Cthumb allows you to create a web picture album, with an index and
several pages, each with thumbnails of your pictures. it optionally
generates pages in several languages simultaneously. it automatically
generates thumbnails of the pictures. it attempts to be nice in the
look of the pages it generates. it is geared towards people that have
ton of digital images that need to be labeled and classified. all you
need is the pictures and a text editor to put all the titles for every
picture in a simple "album" textfile.

%prep
%setup -q

%build
./configure --prefix=%{_prefix} --mandir=%{_mandir}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{_prefix} \
    mandir=$RPM_BUILD_ROOT%{_mandir} install
cp contrib/mkalbum $RPM_BUILD_ROOT%{_bindir}
cp contrib/tree2album $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README TO-DO INSTALL BUGS VERSION AUTHORS ChangeLog cthumbrc.sample
%doc contrib/*.readme
%attr(0755,root,root) %{_bindir}/*
%{_datadir}/man/*/*
%dir %{_datadir}/images/
%{_datadir}/images/*



%changelog
* Wed Mar 03 2010 Ahmad Samir <ahmadsamir@mandriva.org> 4.2-8.1mdv2009.1
+ Revision: 513727
- fix requires

* Wed Jul 23 2008 Thierry Vignaud <tv@mandriva.org> 4.2-8mdv2009.0
+ Revision: 243801
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tv@mandriva.org> 4.2-6mdv2008.1
+ Revision: 123530
- kill re-definition of %%buildroot on Pixel's request
- use %%mkrel
- import cthumb


* Fri Jul 29 2005 Marcel Pol <mpol@mandriva.org> 4.2-6mdk
- new url

* Fri May 14 2004 Marcel Pol <mpol@mandrake.org> 4.2-5mdk
- rebuild
- fix requires
- fix permissions

* Tue Apr 29 2003 Marcel Pol <mpol@gmx.net> 4.2-4mdk
- fix group (thanks thierry)

* Mon Mar 17 2003 Marcel Pol <mpol@gmx.net> 4.2-3mdk
- club => contrib
- s/Copyright/License

* Fri Jan 10 2003 Torbjorn Turpeinen <tobbe@nyvalls.se>
- Fixed some dependencys

* Tue Jan 07 2003 Torbjorn Turpeinen <tobbe@nyvalls.se>
- recompiled for mandrake 9.0

* Tue Nov 27 2001 Carlos Puchol <cpg+cthumb@puchol.com>
- updated for recent rpm version (redhat 7.2)

* Sat Sep 9 2001 Carlos Puchol <cpg+cthumb@puchol.com>
- add TO-DO and AUTHORS

* Sat Oct 30 1999 Carlos Puchol <cpg+cthumb@puchol.com>
- version 2.0.0