rpms/python-id3/F-9 import.log,NONE,1.1 python-id3.spec,1.4,1.5
Michal Nowak
mnowak at fedoraproject.org
Sun Sep 7 11:38:35 UTC 2008
Author: mnowak
Update of /cvs/pkgs/rpms/python-id3/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19935/F-9
Modified Files:
python-id3.spec
Added Files:
import.log
Log Message:
python-id3-1.2-12
--- NEW FILE import.log ---
python-id3-1_2-12_fc9:F-9:python-id3-1.2-12.fc9.src.rpm:1220787454
Index: python-id3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-id3/F-9/python-id3.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-id3.spec 2 Feb 2007 13:56:56 -0000 1.4
+++ python-id3.spec 7 Sep 2008 11:38:05 -0000 1.5
@@ -2,17 +2,18 @@
Name: python-id3
Version: 1.2
-Release: 9%{?dist}
+Release: 12%{?dist}
Summary: ID3 tag library for Python
Group: Development/Libraries
-License: GPL
-URL: http://id3-py.sourceforge.net/
-Source0: http://dl.sourceforge.net/id3-py/id3-py_%{version}.tar.gz
+License: GPLv2+
+URL: http://id3-py.sourceforge.net
+Source: http://dl.sourceforge.net/id3-py/id3-py_%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
Provides: id3-py = %{version}-%{release}
Obsoletes: id3-py < 1.2-8
@@ -24,30 +25,19 @@
%prep
-cat<<EOT
-
-Build disabled. Package is without maintainer.
-
-EOT
-exit 1
-
-cat<<EOT
-
-Build disabled. Package is without maintainer.
-
-EOT
-exit 1
-
%setup -q -n id3-py-%{version}
%build
-%{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT
+%{__install} -d -m 0755 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__install} -p -m 0644 id3-tagger.py $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/id3-tagger.py
+iconv -f ISO-8859-1 -t UTF8 README -o README
%clean
@@ -55,12 +45,30 @@
%files
-%defattr(-,root,root,-)
-%doc CHANGES COPYING README
-%{python_sitelib}/ID3.py*
+%defattr(0644,root,root,0755)
+%doc CHANGES COPYING README id3-tagger.py
+%{python_sitelib}/ID3.py
+%{python_sitelib}/ID3.pyc
+%{python_sitelib}/ID3.pyo
+%{python_sitelib}/*egg-info
%changelog
+* Sat Sep 06 2008 Michal Nowak <mnowak at redhat.com> - 1.2-12
+- removed patch python-id3-setup-license.patch
+
+* Sat Sep 06 2008 Michal Nowak <mnowak at redhat.com> - 1.2-11
+- bundled sample app id3-tagger.py as a %%doc
+- explicitly set %%defattr(0644,root,root,0755) because of id3-tagger.py
+ being executable
+- installed EGG info + patch to include it's GPLv2+ license in proper field
+- BuildRequires: python-setuptools-devel
+- package conforms to https://fedoraproject.org/wiki/Packaging/Python/Eggs
+- README is now UTF-8
+
+* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.2-10
+- fix license tag
+
* Sat Dec 23 2006 Jason L Tibbitts III <tibbs at math.uh.edu> - 1.2-9
- Rebuild with Python 2.5.
- BuildRequires: python-devel is now necessary for a successful build.
More information about the fedora-extras-commits
mailing list