rpms/pyroom/devel .cvsignore, 1.2, 1.3 pyroom.spec, 1.1, 1.2 sources, 1.2, 1.3 pyroom, 1.1, NONE pyroom.desktop, 1.1, NONE test, 1.1, NONE

Sven Lankes slankes at fedoraproject.org
Sat Nov 1 21:18:23 UTC 2008


Author: slankes

Update of /cvs/pkgs/rpms/pyroom/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv992

Modified Files:
	.cvsignore pyroom.spec sources 
Removed Files:
	pyroom pyroom.desktop test 
Log Message:
new upstream release, desktop and pyroom-files are no longer neccessary



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyroom/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	30 Jul 2008 18:20:28 -0000	1.2
+++ .cvsignore	1 Nov 2008 21:17:53 -0000	1.3
@@ -1 +1 @@
-pyroom-0.2.1.tar.gz
+pyroom-0.3.1.1.tar.gz


Index: pyroom.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyroom/devel/pyroom.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pyroom.spec	30 Jul 2008 18:20:28 -0000	1.1
+++ pyroom.spec	1 Nov 2008 21:17:53 -0000	1.2
@@ -1,24 +1,21 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Name:           pyroom
-Version:        0.2.1
-Release:        3%{?dist}
+Version:        0.3.1.1
+Release:        1%{?dist}
 Summary:        PyRoom is a full screen text editor and a clone of Writeroom
 
 Group:          Applications/Editors
 License:        GPLv3+
 URL:            http://pyroom.org/ 
-Source0:        http://edge.launchpad.net/pyroom/0.2/0.2.1/+download/pyroom-0.2.1.tar.gz
-Source1:        pyroom
-Source2:        pyroom.desktop
+Source0:        http://edge.launchpad.net/pyroom/0.3/0.3.1.1/+download/pyroom-0.3.1.1.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch 
-BuildRequires: python 
-Requires: pygtk2
-Requires: gnome-python2-gtksourceview
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
-BuildRequires: gettext
-BuildRequires: desktop-file-utils
+BuildRequires:  python 
+Requires:       pygtk2
+Requires:       gnome-python2-gtksourceview
+BuildRequires:  desktop-file-utils
 
 %description
 
@@ -28,66 +25,36 @@
 
 %prep
 %setup -q
-cp %{SOURCE1} .
 
 %build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__mkdir_p} %{buildroot}/%{_bindir}/
-install -p pyroom %{buildroot}/%{_bindir}
-%{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/
-install -pm 644 *.py %{buildroot}/%{_datadir}/%{name}/
-%{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/themes/
-install -pm 644 themes/*.theme %{buildroot}/%{_datadir}/%{name}/themes/
-install -pm 644 interface.glade  %{buildroot}/%{_datadir}/%{name}/
-
-%{__mkdir_p} %{buildroot}/%{_datadir}/applications/
-install -pm 644 %{SOURCE2} %{buildroot}/%{_datadir}/applications/
-
-chmod 755 %{buildroot}/%{_datadir}/pyroom/pyroom.py
-chmod 755 %{buildroot}/%{_datadir}/pyroom/status_label.py
-
-for lang in ar ca cy da es fi fr_FR it pt pt_BR
-   do
-   dir=locale/$lang/LC_MESSAGES/
-   %{__mkdir_p} $RPM_BUILD_ROOT%_datadir/$dir
-   install -pm 644 $dir/%name.mo $RPM_BUILD_ROOT%_datadir/$dir
-done
-
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+chmod 755 %{buildroot}/%{python_sitelib}/PyRoom/cmdline.py
 
 desktop-file-install --vendor=""    \
 --dir=%{buildroot}%{_datadir}/applications \
 %{buildroot}/%{_datadir}/applications/pyroom.desktop
 
 
-%find_lang %{name}
-
- 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-update-desktop-database &> /dev/null || :
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-
-%postun
-update-desktop-database &> /dev/null || :
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-
-%files -f %{name}.lang
+%files 
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README
-%{_bindir}/pyroom
-%{_datadir}/%{name}/
+%{python_sitelib}/*
+%{_bindir}/%{name}
+%{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 
-
-
-
 %changelog
+* Sat Nov 01 2008 Sven Lankes <sven at lank.es> - 0.3.1.1-1
+- new upstream Version (closes bz #464325)
+- currently doesn't include any translations
+- reworked specfile as upstream now supplies a setup.py
 
 * Tue Jul 22 2008 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.1-3
 - add desktop file. fix permissions and source url


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyroom/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	30 Jul 2008 18:20:28 -0000	1.2
+++ sources	1 Nov 2008 21:17:53 -0000	1.3
@@ -1 +1 @@
-c8d9ff35153554f5388a4f24a0ed0dad  pyroom-0.2.1.tar.gz
+b7cb70cea2306b72af40d14c6a1d0fec  pyroom-0.3.1.1.tar.gz


--- pyroom DELETED ---


--- pyroom.desktop DELETED ---


--- test DELETED ---




More information about the fedora-extras-commits mailing list