rpms/python-polib/F-10 import.log, NONE, 1.1 python-polib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams ivazquez at fedoraproject.org
Wed Mar 4 13:56:51 UTC 2009


Author: ivazquez

Update of /cvs/pkgs/rpms/python-polib/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19996/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-polib.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
python-polib-0_4_0-1_fc11_20080217svnr60:F-10:python-polib-0.4.0-1.fc11.20080217svnr60.src.rpm:1236174944


--- NEW FILE python-polib.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define alphatag r60

Name:           python-polib
Version:        0.4.0
Release:        1%{?dist}.20080217svn%{alphatag}
Summary:        A library to parse and manage gettext catalogs

Group:          Development/Languages
License:        MIT
URL:            http://code.google.com/p/polib/
# svn export -r60 http://polib.googlecode.com/svn/trunk/ polib-0.4.0-r60
# tar zcf polib-0.4.0-r60.tar.gz polib-0.4.0-r60
Source0:        polib-%{version}-%{alphatag}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

%description
polib allows you to manipulate, create, modify gettext files (pot, po and
mo files). You can load existing files, iterate through it's entries, add,
modify entries, comments or metadata, etc... or create new po files from
scratch.

polib provides a simple and pythonic API, exporting only three convenience
functions 'pofile', 'mofile' and 'detect_encoding', and the 4 core classes:
POFile, MOFile, POEntry and MOEntry for creating new files/entries.

%prep
%setup -q -n polib-%{version}-%{alphatag}

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE README docs/
%{python_sitelib}/*

%changelog
* Wed Feb 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.4.0-1.20080217svnr60
- Initial RPM release



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-polib/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Mar 2009 20:42:00 -0000	1.1
+++ .cvsignore	4 Mar 2009 13:56:20 -0000	1.2
@@ -0,0 +1 @@
+polib-0.4.0-r60.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-polib/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Mar 2009 20:42:00 -0000	1.1
+++ sources	4 Mar 2009 13:56:20 -0000	1.2
@@ -0,0 +1 @@
+3ccfa697940893f48107689b5f0ddebf  polib-0.4.0-r60.tar.gz




More information about the fedora-extras-commits mailing list