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

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

shutter の依存物を更新。

  • build with perl 5.12.3
  • add Vendor and Distribution tags
Line 
1Name:           perl-Gtk2-Unique
2Version:        0.05
3Release:        2%{?_dist_release}
4Summary:        Perl bindings for the C library "libunique"
5
6Group:          Development/Libraries
7License:        Artistic or GPL (same terms as Perl)
8URL:            http://search.cpan.org/dist/Gtk2-Unique/
9Source0:        http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/Gtk2-Unique-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildRequires:  perl(Gtk2)
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(ExtUtils::Depends)
15BuildRequires:  perl(ExtUtils::PkgConfig)
16BuildRequires:  unique-devel
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18Requires:       unique
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24Perl bindings for the C library "libunique" that provides a mechanism for
25writing single instance applications. If you launch a single instance
26application twice, the second instance will either just quit or will send a
27message to the running instance.
28
29
30%prep
31%setup -q -n Gtk2-Unique-%{version}
32
33
34%build
35%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
36%{__make} %{?_smp_mflags}
37
38
39%install
40%{__rm} -rf $RPM_BUILD_ROOT
41%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
44find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
45%{__chmod} -R u+w $RPM_BUILD_ROOT/*
46
47
48%clean
49%{__rm} -rf $RPM_BUILD_ROOT
50
51
52%files
53%defattr(-,root,root,-)
54%doc Changes README
55%{perl_vendorarch}/auto/Gtk2/Unique/
56%{perl_vendorarch}/Gtk2/Unique*
57%{_mandir}/man3/*.3pm*
58
59
60%changelog
61* Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.05-2
62- build with perl 5.12.3
63- add Vendor and Distribution tags
64
65* Sat Feb 12 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.05-1
66- initial build for Vine Linux
67
Note: See TracBrowser for help on using the repository browser.