Author: glen                         Date: Sun Aug  7 23:11:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 5.3
- move files out of %{_libdir} (noarch package!)
- use macros.perl to find runtime package deps
- seems working

---- Files affected:
SPECS:
   gcfilms.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/gcfilms.spec
diff -u SPECS/gcfilms.spec:1.7 SPECS/gcfilms.spec:1.8
--- SPECS/gcfilms.spec:1.7      Wed Jun 29 11:08:54 2005
+++ SPECS/gcfilms.spec  Mon Aug  8 01:11:05 2005
@@ -1,18 +1,23 @@
 # $Revision$, $Date$
+%include       /usr/lib/rpm/macros.perl
 Summary:       GCfilms - movies collection management
 Summary(pl):   GCfilms - narzędzie do zarządzania kolekcjami filmów
 Name:          gcfilms
-Version:       5.2
-Release:       0.1
+Version:       5.3
+Release:       0.14
 License:       GPL
 Group:         Applications/Databases
 Source0:       http://download.gna.org/gcfilms/%{name}-%{version}.tar.gz
-# Source0-md5: 5b8954427e264998b8078bc0a0b1be6f
+# Source0-md5: 58743009cb2d5a821f33205efa8d4346
+Patch0:                %{name}-path.patch
 URL:           http://home.gna.org/gcfilms/
 Requires:      perl-Gtk2 >= 1.054
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# provided by this package itself.
+%define                _noautoreq      'perl(GC.*)'
+
 %description
 GCfilms is a Gtk2 Movie Catalog. Application that can be used to
 manage a movie collection.
@@ -23,19 +28,17 @@
 
 %prep
 %setup -q -n gcfilms
+%patch0 -p1 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_datadir},%{_desktopdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/lib,%{_desktopdir}}
 
 install bin/gcfilms $RPM_BUILD_ROOT%{_bindir}
-cp -a lib/gcfilms $RPM_BUILD_ROOT%{_libdir}
+cp -a lib/gcfilms/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
 cp -a share/gcfilms $RPM_BUILD_ROOT%{_datadir}
 install share/applications/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
 
-# FIXME
-cp -a . $RPM_BUILD_ROOT
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -44,7 +47,6 @@
 %doc CHANGELOG README
 %lang(fr) %doc CHANGELOG.fr README.fr
 %attr(755,root,root) %{_bindir}/gcfilms
-%{_libdir}/gcfilms
 %{_datadir}/gcfilms
 %{_desktopdir}/gcfilms.desktop
 
@@ -54,6 +56,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/08/07 23:11:05  glen
+- up to 5.3
+- move files out of %{_libdir} (noarch package!)
+- use macros.perl to find runtime package deps
+- seems working
+
 Revision 1.7  2005/06/29 09:08:54  spider
 - summary small cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gcfilms.spec?r1=1.7&r2=1.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to