1 | Name: perl-Gnome2-Wnck |
---|
2 | Version: 0.16 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Perl interface to the Window Navigator Construction Kit |
---|
5 | License: LGPLv2+ |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Gnome2-Wnck/ |
---|
8 | Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-Wnck-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildRequires: perl(ExtUtils::Depends) >= 0.20 |
---|
11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
12 | BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 |
---|
13 | BuildRequires: perl(Glib) >= 1.180 |
---|
14 | BuildRequires: perl(Gtk2) >= 1.00 |
---|
15 | BuildRequires: libXres-devel |
---|
16 | BuildRequires: libwnck-devel |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | %description |
---|
20 | This module allows a Perl developer to |
---|
21 | use the Window Navigator Construction |
---|
22 | Kit library (libwnck for short) to write |
---|
23 | tasklists and pagers. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q -n Gnome2-Wnck-%{version} |
---|
27 | |
---|
28 | %build |
---|
29 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
30 | %{__make} %{?_smp_mflags} NOECHO= |
---|
31 | |
---|
32 | %install |
---|
33 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
34 | |
---|
35 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
36 | |
---|
37 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
38 | find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
39 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
40 | |
---|
41 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
42 | |
---|
43 | %check |
---|
44 | %{__make} test |
---|
45 | |
---|
46 | %clean |
---|
47 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
48 | |
---|
49 | %files |
---|
50 | %defattr(-,root,root,-) |
---|
51 | %doc ChangeLog LICENSE maps NEWS README |
---|
52 | %{perl_vendorarch}/auto/* |
---|
53 | %{perl_vendorarch}/Gnome2* |
---|
54 | %{_mandir}/man3/*.3* |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.16-1 |
---|
58 | - initial build for Vine Linux based on fedora development |
---|
59 | |
---|
60 | * Sun Jul 28 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-7 |
---|
61 | - Change BuildRequires from perl(Glib::MakeHelper) to perl(Glib) |
---|
62 | - Add BR: perl-Glib-devel |
---|
63 | |
---|
64 | * Sun Jul 27 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-6 |
---|
65 | - Change BuildRequires from perl(Glib) to perl(Glib::MakeHelper) |
---|
66 | |
---|
67 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
69 | |
---|
70 | * Sun May 10 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-4 |
---|
71 | - Modify BuildRequires and correct the %%files. |
---|
72 | |
---|
73 | * Sun Apr 21 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-3 |
---|
74 | - Modify BuildRequires and correct the %%files. |
---|
75 | |
---|
76 | * Fri Mar 13 2009 Suilong Liang <liangsuilong@gmail.com> -0.16-1 |
---|
77 | - Fix the bug that the package could not be built on x86_64 |
---|
78 | |
---|
79 | * Sat Jan 17 2009 Suilong Liang <liangsuilong@gmail.com> -svn20090118-1 |
---|
80 | - Initial Package for Fedora 10. |
---|