[521] | 1 | Name: perl-Gnome2 |
---|
| 2 | Version: 1.042 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Perl interface to the 2.x series of the GNOME libraries |
---|
| 5 | License: LGPLv2 |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Gnome2/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-%{version}.tar.gz |
---|
| 9 | Patch0: perl-Gnome2-test-fix.patch |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | BuildRequires: perl(ExtUtils::Depends) >= 0.20 |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 |
---|
| 15 | BuildRequires: perl(Glib) >= 1.04 |
---|
| 16 | BuildRequires: perl(Glib::MakeHelper) |
---|
| 17 | BuildRequires: perl(Gnome2::Canvas) >= 1.00 |
---|
| 18 | BuildRequires: perl(Gnome2::VFS) >= 1.00 |
---|
| 19 | BuildRequires: perl(Gtk2) >= 1.00 |
---|
| 20 | BuildRequires: libgnomeui-devel |
---|
| 21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | The Gnome2 module allows a perl developer to use the Gnome libraries. Find out |
---|
| 25 | more about Gnome+ at http://www.gnome.org. |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q -n Gnome2-%{version} |
---|
| 30 | %patch0 -p1 -b .test-fix |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
| 34 | %{__make} %{?_smp_mflags} |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 38 | |
---|
| 39 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
| 42 | find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
| 43 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 44 | |
---|
| 45 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | %{__make} test |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-,root,root,-) |
---|
| 55 | %doc AUTHORS ChangeLog doctypes gnome.typemap LICENSE maps NEWS README TODO |
---|
| 56 | %{perl_vendorarch}/auto/* |
---|
| 57 | %{perl_vendorarch}/Gnome2* |
---|
| 58 | %{_mandir}/man3/* |
---|
| 59 | |
---|
| 60 | %changelog |
---|
| 61 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.042-1 |
---|
| 62 | - initial build for Vine Linux based on fedora development |
---|
| 63 | - add patch0: fix icon name in t/GnomeIconTheme.t |
---|
| 64 | |
---|
| 65 | * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.042-4 |
---|
| 66 | - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper). |
---|
| 67 | |
---|
| 68 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.042-3 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.042-2 |
---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 73 | |
---|
| 74 | * Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 1.042-1 |
---|
| 75 | - Initial rpm release. |
---|