rpms/python-imdb/F-12 imdbpy.lang, NONE, 1.1 python-imdb.spec, 1.10, 1.11 sources, 1.4, 1.5

Jon Ciesla limb at fedoraproject.org
Wed Feb 3 15:55:18 UTC 2010


Author: limb

Update of /cvs/pkgs/rpms/python-imdb/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10135/F-12

Modified Files:
	python-imdb.spec sources 
Added Files:
	imdbpy.lang 
Log Message:
4.4.



--- NEW FILE imdbpy.lang ---
%lang(en) /usr/share/locale/en/LC_MESSAGES/imdbpy.mo
%lang(it) /usr/share/locale/it/LC_MESSAGES/imdbpy.mo
%lang(tr) /usr/share/locale/tr/LC_MESSAGES/imdbpy.mo


Index: python-imdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-imdb/F-12/python-imdb.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- python-imdb.spec	26 Sep 2009 02:13:55 -0000	1.10
+++ python-imdb.spec	3 Feb 2010 15:55:18 -0000	1.11
@@ -5,7 +5,7 @@
 
 Name:           python-imdb
 Provides:       IMDbPY = %{version}-%{release}
-Version:        4.2
+Version:        4.4
 Release:        1%{?dist}
 Summary:        Retrieve and manage the data of the IMDb movie database
 
@@ -13,11 +13,13 @@ Group:          Development/Languages
 License:        GPLv2+   
 URL:            http://imdbpy.sourceforge.net/
 Source0:        http://prdownloads.sourceforge.net/imdbpy/%{realname}-%{version}.tar.gz
+#I can't get find_lang to do what I need, so I'm doing it manually.
+Source1:        imdbpy.lang
 #use system beautifulsoup
-Patch0:         %{name}-%{version}-beautifulsoup.patch
+Patch0:         %{name}-4.2-beautifulsoup.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel, python-setuptools
+BuildRequires:  python-devel, python-setuptools, gettext
 
 Requires:       python-sqlobject, python-lxml, python-BeautifulSoup
 
@@ -48,7 +50,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 #fix permissions
-chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/imdb/parser/common/cutils.so
+#chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/imdb/parser/common/cutils.so
+#No longer there. . .
 
 #Don't include these as binaries, rather include them as examples in documentation
 #See debian for reference 
@@ -61,11 +64,20 @@ chmod 0644 examples/*
 rm -f $RPM_BUILD_ROOT%{_prefix}/doc/*
 rm -f $RPM_BUILD_ROOT%{_prefix}/etc/*
 
+#would do find_lang here if I could get it to work right.
+
+for i in en it tr; do
+        mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/
+        mv $RPM_BUILD_ROOT/usr/imdb/locale/$i/LC_MESSAGES/imdbpy.mo $RPM_BUILD_ROOT%{_datadir}/locale/$i/LC_MESSAGES/
+done
+
+rm -rf $RPM_BUILD_ROOT/usr/imdb
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%files
+%files -f %{SOURCE1}
 %defattr(-,root,root,-)
 %doc docs/AUTHOR.txt docs/Changelog.txt docs/CONTRIBUTORS.txt docs/DISCLAIMER.txt docs/FAQS.txt docs/LICENSE.txt docs/README* docs/TODO.txt docs/imdbpy.cfg
 %doc examples
@@ -73,6 +85,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Feb 03 2010 Jon Ciesla <limb at jcomserv.net> - 4.4-1
+- New upstream, fixes data retrieval issue, BZ 539818.
+
+* Wed Feb 03 2010 Jon Ciesla <limb at jcomserv.net> - 4.2-2
+- Corrected 4.2 build.
+
 * Fri Sep 26 2009 Sindre Pedersen Bjørdal <sindrepb at fedoraproject.org> - 4.2-1
 - New upstream release
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-imdb/F-12/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	26 Sep 2009 02:13:55 -0000	1.4
+++ sources	3 Feb 2010 15:55:18 -0000	1.5
@@ -1 +1 @@
-a97fdde99e5810b47a7102e0980e1655  IMDbPY-4.2.tar.gz
+505dfbf1d5e7b4e231af955ca2dad8c0  IMDbPY-4.4.tar.gz



More information about the scm-commits mailing list