]> git.pld-linux.org Git - packages/perl-Glib.git/blame - perl-Glib.spec
- initial release
[packages/perl-Glib.git] / perl-Glib.spec
CommitLineData
a2820eaf 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4#
5# TODO:
6# - check BRs
7# - intl descs
8#
9%include /usr/lib/rpm/macros.perl
10%define pnam Glib
11Summary: Perl Glib bindings
12Name: perl-Glib
13Version: 0.90
14Release: 0.1
15License: GPL
16Group: Development/Languages/Perl
17Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
18# Source0-md5: ed1e22aee24b62f71755ca8423ca044e
19URL: http://gtk2-perl.sf.net/
20BuildRequires: glib2-devel
21BuildRequires: perl-devel >= 5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This module provides perl access to Glib and GLib's GObject libraries.
27
28%prep
29%setup -q -n %{pnam}-%{version}
30
31%build
32%{__perl} Makefile.PL \
33 INSTALLDIRS=vendor
34
35%{__make} \
36 OPTIMIZE="%{rpmcflags}"
37
38%{!?_without_tests:%{__make} test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc AUTHORS ChangeLog README*
52%{perl_vendorarch}/*.pm
53%dir %{perl_vendorarch}/Glib
54%{perl_vendorarch}/Glib
55%{perl_vendorarch}/auto/Glib/*
56%{_mandir}/man3/*
This page took 0.037066 seconds and 4 git commands to generate.