Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 8c2c66333c610160f7e0a3583403b6d4 > files > 2

photon-0.4.4-1mdv2008.0.src.rpm

%define name    photon
%define Name    Photon
%define version 0.4.4
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Photon is a static HTML gallery generator
Source:         http://www.saillard.org/programs_and_patches/photon/files/%{Name}-%{version}.tar.bz2
Url:            http://www.saillard.org/photon/
License:        GPL
Group:          Graphics
BuildRequires:  python-devel
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description
Photon is a photo album with a clean design.
Features:
* static HTML pages (you can put all pages and images on a CD-ROM)
* slideshow (use javascript optional)
* can use gimp to resize picture
* navigation between the image can use the keyboard (use javascript optional)
* works in any browser (Mozilla, Netscape Navigator 4.x, Konqueror, Opera)
* Each image can have a comment (with HTML tags)
* Information about the image (if taken from a digital picture) can be draw
* thumbnail image size can be chosen by the user
* output images can be scalled down
* control the number of thumbnail in a page.

%prep
%setup -q -n %{Name}-%{version}

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog README BUGS
%{_bindir}/%{name}
%{python_sitelib}/%{Name}
%{python_sitelib}/Photon-0.4.4-py2.5.egg-info
%{_datadir}/%{name}



%changelog
* Thu Jul 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.4.4-1mdv2008.0
+ Revision: 56119
- new version
- import photon


* Tue Aug 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.3.1-4mdv2007.0
- clean buildroot before install
- spec cleanup

* Thu Nov 03 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.1-3mdk
- Fix BuildRequires : add python-devel
- %%mkrel 

* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.3.1-2mdk
- Rebuild for new python

* Fri Nov 05 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.3.1-1mdk 
- first mdk package, using a spec file stolen from Luc Saillard <luc@saillard.org>