rpms/perl-Glib/F-11 perl-Glib.spec,1.32,1.33

Štěpán Kasal kasal at fedoraproject.org
Fri Jul 17 14:40:34 UTC 2009


Author: kasal

Update of /cvs/extras/rpms/perl-Glib/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14751

Modified Files:
	perl-Glib.spec 
Log Message:
- create devel subpackage, so that the main one does not require
  the whole perl-devel (#509419)


Index: perl-Glib.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Glib/F-11/perl-Glib.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- perl-Glib.spec	13 Mar 2009 20:13:35 -0000	1.32
+++ perl-Glib.spec	17 Jul 2009 14:40:34 -0000	1.33
@@ -1,6 +1,6 @@
 Name:           perl-Glib
 Version:        1.201
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Perl interface to GLib
 
 Group:          Development/Libraries
@@ -17,7 +17,7 @@ BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-This module provides perl access to Glib and GLib's GObject libraries.
+This module provides perl access to GLib and GLib's GObject libraries.
 GLib is a portability and utility library; GObject provides a generic
 type system with inheritance and a powerful signal system.  Together
 these libraries are used as the foundation for many of the libraries
@@ -25,6 +25,13 @@ that make up the Gnome environment, and 
 projects.
 
 
+%package devel
+Summary:	Development part of Perl interface to GLib
+
+%description devel
+Development part of package perl-Glib, the Perl module providing interface
+to GLib and GObject libraries.
+
 %prep
 %setup -q -n Glib-%{version}
 
@@ -66,9 +73,31 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorarch}/auto/Glib/
 %{perl_vendorarch}/Glib*
 %{_mandir}/man3/*.3pm*
+%exclude %{perl_vendorarch}/Glib/*/*.h
+%exclude %{perl_vendorarch}/Glib/MakeHelper.pm
+%exclude %{perl_vendorarch}/Glib/devel.pod
+%exclude %{perl_vendorarch}/Glib/xsapi.pod
+%exclude %{_mandir}/man3/Glib::MakeHelper.3pm.gz
+%exclude %{_mandir}/man3/Glib::devel.3pm.gz
+%exclude %{_mandir}/man3/Glib::xsapi.3pm.gz
+
+
+%files devel
+%defattr(-,root,root,-)
+%{perl_vendorarch}/Glib/*/*.h
+%{perl_vendorarch}/Glib/MakeHelper.pm
+%{perl_vendorarch}/Glib/devel.pod
+%{perl_vendorarch}/Glib/xsapi.pod
+%{_mandir}/man3/Glib::MakeHelper.3pm.gz
+%{_mandir}/man3/Glib::devel.3pm.gz
+%{_mandir}/man3/Glib::xsapi.3pm.gz
 
 
 %changelog
+* Fri Jul 17 2009 Stepan Kasal <skasal at redhat.com> - 1.201-3
+- create devel subpackage, so that the main one does not require
+  the whole perl-devel (#509419)
+
 * Fri Mar 13 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.201-2
 - dont run the tests on ppc
 




More information about the Fedora-perl-devel-list mailing list