SPECS: griffith.spec - up to 0.6.1 - using py_compile - patch cha...
teodor
teodor at pld-linux.org
Sun May 21 22:01:32 CEST 2006
Author: teodor Date: Sun May 21 20:01:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.6.1
- using py_compile
- patch changes /usr/bin/env -> /usr/bin/python
---- Files affected:
SPECS:
griffith.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/griffith.spec
diff -u SPECS/griffith.spec:1.14 SPECS/griffith.spec:1.15
--- SPECS/griffith.spec:1.14 Sun Mar 12 19:16:32 2006
+++ SPECS/griffith.spec Sun May 21 22:01:27 2006
@@ -1,8 +1,4 @@
# $Revision$, $Date$
-# TODO:
-# - fix desktop file ??
-# - Requires: /usr/bin/env -> /usr/bin/python for autodeps
-# - py_compile?
#
# Conditional build:
%bcond_without gtkspell # don't build with spell checker
@@ -10,16 +6,17 @@
Summary: griffith - film collection manager
Summary(pl): griffith - program katalogujący filmy
Name: griffith
-Version: 0.6
-Release: 2
+Version: 0.6.1
+Release: 3
License: GPL v2
Group: X11/Applications/Multimedia
Source0: http://download.berlios.de/griffith/%{name}-%{version}.tar.gz
-# Source0-md5: a61e267d64197472a6068d7b5310ef55
-Source1: http://download.berlios.de/griffith/%{name}-extra-artwork-%{version}.tar.gz
+# Source0-md5: 41b9b4f882b6973ea684ac247adbaa24
+Source1: http://download.berlios.de/griffith/%{name}-extra-artwork-0.6.tar.gz
# Source1-md5: 83609337d721f35277c2970866dbfe7e
Source2: %{name}.desktop
Patch0: %{name}-Makefile.patch
+Patch1: %{name}-env_python.patch
URL: http://griffith.vasconunes.net/
BuildRequires: gtk+2-devel >= 2:2.6.0
BuildRequires: intltool
@@ -63,6 +60,7 @@
%prep
%setup -q -a1
%patch0 -p1
+%patch1 -p1
mv griffith-extra-artwork-0.6/images/*.png images/
@@ -78,6 +76,12 @@
install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
install data/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/%{name}
+%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
+
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/lib/*.py
+
%find_lang %{name}
%clean
@@ -90,7 +94,7 @@
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/lib
%attr(755,root,root) %{_datadir}/%{name}/lib/%{name}
-%{_datadir}/%{name}/lib/*.py
+%{_datadir}/%{name}/lib/*.pyc
%{_datadir}/%{name}/export_templates
%{_datadir}/%{name}/glade
%dir %{_datadir}/%{name}/images
@@ -120,7 +124,11 @@
%{_datadir}/%{name}/images/meter08.png
%{_datadir}/%{name}/images/meter09.png
%{_datadir}/%{name}/images/nill.png
-%{_datadir}/%{name}/plugins
+%dir %{_datadir}/%{name}/plugins
+%dir %{_datadir}/%{name}/plugins/movie
+%dir %{_datadir}/%{name}/plugins/export
+%{_datadir}/%{name}/plugins/movie/*.py
+%{_datadir}/%{name}/plugins/export/*.py
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.*
%{_mandir}/*/man?/*
@@ -136,6 +144,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2006/05/21 20:01:27 teodor
+- up to 0.6.1
+- using py_compile
+- patch changes /usr/bin/env -> /usr/bin/python
+
Revision 1.14 2006/03/12 18:16:32 qboosh
- cosmetics
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/griffith.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list