From 03a90485f3d0941c7cb29f7c5578be0fb0a1c23c Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Aug 23 2006 03:28:50 +0000 Subject: auto-import perl-Gnome2-GConf-1.032-2.fc5 on branch devel from perl-Gnome2-GConf-1.032-2.fc5.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..86e2170 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Gnome2-GConf-1.032.tar.gz diff --git a/perl-Gnome2-GConf.spec b/perl-Gnome2-GConf.spec new file mode 100644 index 0000000..f2696dd --- /dev/null +++ b/perl-Gnome2-GConf.spec @@ -0,0 +1,76 @@ +Name: perl-Gnome2-GConf +Version: 1.032 +Release: 2%{?dist} +Summary: Perl wrappers for the GConf configuration engine +License: LGPL +Group: Development/Libraries +URL: http://search.cpan.org/dist/Gnome2-GConf/ +Source0: http://www.cpan.org/authors/id/E/EB/EBASSI/Gnome2-GConf-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +## core +BuildRequires: perl +## non-core +BuildRequires: perl(Glib) >= 1.120, GConf2 +BuildRequires: perl(ExtUtils::Depends) >= 0.2 +BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 + +BuildRequires: GConf2-devel + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +%description +This module allows you to use the GConf configuration system in order to +store/retrieve the configuration of an application. The GConf system is a +powerful configuration manager based on a user daemon that handles a set of +key and value pairs, and notifies any changes of the value to every program +that monitors those keys. GConf is used by GNOME 2.x. + + +%prep +%setup -q -n Gnome2-GConf-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +cp xs/* . + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHOR ChangeLog doctypes gconf.typemap maps NEWS README examples/ +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Gnome2* +%{_mandir}/man3/* + + +%changelog +* Fri Aug 18 2006 Chris Weyl 1.032-2 +- added missing BR +- tweaked %build to help -debuginfo generation + +* Sun Aug 13 2006 Chris Weyl 1.032-1 +- Specfile autogenerated by cpanspec 1.68. +- Initial spec file for F-E diff --git a/sources b/sources index e69de29..a696615 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +887b979e04df4adbfd616729cda0f37b Gnome2-GConf-1.032.tar.gz