source: projects/specs/branches/6/p/perl-Gnome2/perl-Gnome2-vl.spec @ 3699

Revision 3699, 2.6 KB checked in by kazutaka, 13 years ago (diff)

shutter の依存物を更新。

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