]> git.pld-linux.org Git - packages/perl-Glib-IO.git/blob - perl-Glib-IO.spec
- updated to 0.002
[packages/perl-Glib-IO.git] / perl-Glib-IO.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pnam    Glib-IO
6 Summary:        Perl GIO (Glib IO) bindings
7 Summary(pl.UTF-8):      Wiązania GIO (Glib IO) dla Perla
8 Name:           perl-Glib-IO
9 Version:        0.002
10 Release:        1
11 License:        LGPL v2.1+
12 Group:          Development/Languages/Perl
13 Source0:        https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14 # Source0-md5:  6fc3325815d13f01545966313d8ae506
15 URL:            http://gtk2-perl.sourceforge.net/
16 BuildRequires:  glib2-devel >= 1:2.24.0
17 BuildRequires:  perl-ExtUtils-MakeMaker
18 BuildRequires:  perl-Glib-Object-Introspection >= 0.014
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRequires:  rpmbuild(macros) >= 1.745
22 Requires:       perl-Glib-Object-Introspection >= 0.014
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This module provides Perl access to GIO (Glib IO) library.
28
29 %description -l pl.UTF-8
30 Ten moduł daje dostęp z poziomu Perla do biblioteki GIO (Glib IO).
31
32 %prep
33 %setup -q -n %{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38
39 %{__make} \
40         CC="%{__cc}"
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} pure_install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc NEWS README
56 %dir %{perl_vendorlib}/Glib
57 %{perl_vendorlib}/Glib/IO.pm
58 %{_mandir}/man3/Glib::IO.3pm*
This page took 0.199031 seconds and 4 git commands to generate.