Localizer.spec 3.44 KB
Newer Older
Jean-Paul Smets's avatar
Jean-Paul Smets committed
1 2 3
Name:               Localizer
Summary:            A Zope product to localize applications
Version:            1.0.1
Sebastien Robin's avatar
Sebastien Robin committed
4
Release:            4mdk
Jean-Paul Smets's avatar
Jean-Paul Smets committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
Group:              Development/Python
Requires:           zope
License:            GPL
URL:                http://www.j-david.net/software/localizer/
Packager:           Sebastien Robin <seb@nexedi.com>
BuildRoot:          %{_tmppath}/%{name}-%{version}-rootdir
Buildarch:          noarch

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

#----------------------------------------------------------------------
%description
Localizer is a Zope product which allows to implement localization
services based on gettext.

A complete guide is available online at
http://www.j-david.net/software/localizer/guide/index_html

#----------------------------------------------------------------------
%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 %{name}-%{version}/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.en $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.es $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}
install %{name}-%{version}/*.fr $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}

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

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

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.mo $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.po $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale
install %{name}-%{version}/locale/*.pot $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/%{name}/locale

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

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

%clean
rm -rf $RPM_BUILD_ROOT

#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt TODO.txt

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

#----------------------------------------------------------------------
%changelog
Sebastien Robin's avatar
Sebastien Robin committed
72 73 74
* Wed Sep 12 2003 Sebastien Robin <seb@nexedi.com> 1.0.1.4mdk
- Make now signed rpm

Jean-Paul Smets's avatar
Jean-Paul Smets committed
75 76 77 78 79 80 81 82 83 84 85
* Thu Sep 04 2003 Sebatien Robin <seb@nexedi.com> 1.0.1-3mdk
- change in the spec file '/usr/lib' by %{_libdir}

* Wed Sep 3 2003 Sebastien Robin <sebnexedi.com> 1.0.1-2mdk
- Update spec in order to follows Mandrake Rules

* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com> 1.0.1-1nxd
- Update to version 1.0.1

* Sat Oct 12 2002 Jean-Paul Smets <jp@nexedi.com> 0.8.1-1nxd
- Initial release