Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > bdfc9d5539ad3caea96977028a8e953c > files > 3

perl-Gnome2-GConf-1.012-1mdk.src.rpm

%define module Gnome2-GConf
%define fmodule Gnome2/GConf

Summary: Perl module for the gnome2-2.x GConf libraries
Name:    perl-%module
Version: 1.012
Release: 1mdk
License: GPL or Artistic
Group:   Development/GNOME and GTK+
Source:  %module-%version.tar.bz2
# http://sourceforge.net/project/showfiles.php?group_id=64773&package_id=102147
Patch0:  Gnome2-GConf-1.000-cfg_src.patch.bz2
URL: http://gtk2-perl.sf.net/
BuildRequires: libGConf2-devel => 2.4.0 perl-Glib => 1.070, perl-Gtk2
BuildRequires: perl-devel perl-ExtUtils-Depends perl-ExtUtils-PkgConfig 
Requires: perl-Glib >= 1.070
Conflicts: drakxtools < 9.1-15mdk
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This module provides perl access to GNOME-2.x GConf2 libraries.

GConf is a configuration data storage mechanism scheduled to
ship with GNOME 2.0. GConf does work without GNOME however; it
can be used with plain GTK+, Xlib, KDE, or even text mode
applications as well.

%prep
%setup -q -n %module-%version
find -type d -name CVS | rm -rf 
%patch0 -p0 -b .cfg_src

%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
export GTK2_PERL_CFLAGS="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
#%make test || :

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%doc AUTHOR README examples/*
%{_mandir}/*/*
%{perl_vendorarch}/%fmodule
%{perl_vendorarch}/%fmodule.pm
%{perl_vendorarch}/auto/%fmodule

%changelog
* Tue Feb 08 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.012-1mdk
- new release

* Fri Feb  4 2005 Olivier Blin <oblin@mandrakesoft.com> 1.000-4mdk
- Patch0: allow to specify config source in GConfClient

* Thu Feb  3 2005 Olivier Blin <oblin@mandrakesoft.com> 1.000-3mdk
- rebuild for perl-5.8.6

* Fri Aug 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.000-2mdk
- rebuild for perl-5.8.5

* Thu Mar 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.000-1mdk
- new release

* Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.42-2mdk
- add examples

* Sat Jan 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.42-1mdk
- initial release