source: projects/specs/trunk/p/perl-Gnome2-Wnck/perl-Gnome2-Wnck-vl.spec @ 521

Revision 521, 2.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-Gnome2-Wnck
2Version:        0.16
3Release:        1%{?_dist_release}
4Summary:        Perl interface to the Window Navigator Construction Kit
5License:        LGPLv2+
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Gnome2-Wnck/
8Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-Wnck-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildRequires:  perl(ExtUtils::Depends) >= 0.20
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.03
13BuildRequires:  perl(Glib) >= 1.180
14BuildRequires:  perl(Gtk2) >= 1.00
15BuildRequires:  libXres-devel
16BuildRequires:  libwnck-devel
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20This module allows a Perl developer to
21use the Window Navigator Construction
22Kit 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
37find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
38find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
39find $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.
Note: See TracBrowser for help on using the repository browser.