]> git.pld-linux.org Git - packages/perl-Gtk2-SourceView.git/blob - perl-Gtk2-SourceView.spec
0027031f135f39f84f0379c895fa41051caa546d
[packages/perl-Gtk2-SourceView.git] / perl-Gtk2-SourceView.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires X server)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Gtk2
7 %define         pnam    SourceView
8 Summary:        Perl gtksourceview bindings
9 Summary(pl.UTF-8):      Wiązania gtksourceview dla Perla
10 Name:           perl-Gtk2-SourceView
11 Version:        1.000
12 Release:        1
13 License:        LGPL
14 Group:          Development/Languages/Perl
15 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  35f859153d9c8a41260f98ad969fcb78
17 URL:            http://gtk2-perl.sourceforge.net/
18 BuildRequires:  gtksourceview-devel >= 1.7.2
19 BuildRequires:  perl-ExtUtils-Depends >= 0.205
20 BuildRequires:  perl-ExtUtils-PkgConfig >= 1.07
21 BuildRequires:  perl-Glib >= 1.132
22 BuildRequires:  perl-Gnome2-Print >= 0.951
23 BuildRequires:  perl-Gtk2 >= 1.133
24 BuildRequires:  perl-devel >= 1:5.8.0
25 BuildRequires:  rpm-perlprov >= 4.1-13
26 Requires:       perl-Glib >= 1.132
27 Requires:       perl-Gnome2-Print >= 0.951
28 Requires:       perl-Gtk2 >= 1.133
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This module provides Perl access to gtksourceview library.
33
34 %description -l pl.UTF-8
35 Ten moduł daje dostęp z poziomu Perla do biblioteki gtksourceview.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43
44 %{__make} \
45         CC="%{__cc}" \
46         OPTIMIZE="%{rpmcflags}"
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gtk2/SourceView/*.pod
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS README ChangeLog
64 %{perl_vendorarch}/Gtk2/SourceView.pm
65 %dir %{perl_vendorarch}/Gtk2/SourceView
66 %{perl_vendorarch}/Gtk2/SourceView/Install
67 %dir %{perl_vendorarch}/auto/Gtk2/SourceView
68 %attr(755,root,root) %{perl_vendorarch}/auto/Gtk2/SourceView/*.so
69 %{perl_vendorarch}/auto/Gtk2/SourceView/*.bs
70 %{_mandir}/man3/*
This page took 0.201851 seconds and 2 git commands to generate.