Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 12a1fa4496b885b9d8c064d289571814 > files > 2

CMFPhoto-1.2.3-4mdk.src.rpm

Name:               CMFPhoto
Summary:            A Zope product to manage images better...
Version:            1.2.3
Release:            4mdk
Group:              Development/Python
Requires:           zope
License:            GPL
URL:                http://www.zope.org
Packager:           Sebastien Robin <seb@nexedi.com>
BuildRoot:          %{_tmppath}/%{name}-%{version}-rootdir
Buildarch:	noarch

Source: %{name}-%{version}.tar.bz2

#----------------------------------------------------------------------
%description

This product provides a Photo object and a Photo Folder object for
managing digital images in Zope.

#----------------------------------------------------------------------
%prep


rm -rf $RPM_BUILD_ROOT
%setup -a 0

#----------------------------------------------------------------------
%build

#----------------------------------------------------------------------
%install

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo
install %{name}-%{version}/skins/plone_photo/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo
install %{name}-%{version}/skins/plone_photo/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/skins/plone_photo

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions
install %{name}-%{version}/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/Extensions

%clean
rm -rf $RPM_BUILD_ROOT

#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README

%{_libdir}/zope/lib/python/Products/%{name}/

#----------------------------------------------------------------------
%changelog
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 1.2.3-4mdk
- change in the spec file '/usr/lib' by %{_libdir}

* Wed Sep 03 2003 Sébastien Robin <seb@nexedi.com> 1.2.3-3mdk
- Update this rpm in order to follows Mandrake rules

* Wed Apr 25 2003 Sébastien Robin <seb@nexedi.com> 1.2.3-2nxd
- Clean the spec file

* Mon Feb 3 2003 Jean-Paul Smets <jp@nexedi.com> 1.2.3-1nxd
- Initial release