]> git.pld-linux.org Git - packages/perl-Gnome2.git/blame - perl-Gnome2.spec
- rebuild with perl 5.30.0
[packages/perl-Gnome2.git] / perl-Gnome2.spec
CommitLineData
65e188f2
MK
1#
2# Conditional build:
cf1b96df 3%bcond_with tests # perform "make test" (requires X server)
65e188f2
MK
4#
5%include /usr/lib/rpm/macros.perl
15109e53 6%define pdir Gnome2
0d8e9fde 7Summary: Perl interface to the 2.x series of the GNOME libraries
2704248c 8Summary(pl.UTF-8): Interfejs perlowy do bibliotek GNOME 2.x
2bc9e649 9Name: perl-Gnome2
598bcec4 10Version: 1.046
f6400c43 11Release: 6
598bcec4 12License: LGPL v2.1+
65e188f2 13Group: Development/Languages/Perl
58a2c743 14Source0: http://download.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz
598bcec4 15# Source0-md5: abb820a474237f6c8d6c2dc19ba3c1e6
d18b7414 16URL: http://gtk2-perl.sourceforge.net/
110e7e66 17BuildRequires: libbonoboui-devel >= 2.0.0
2281740b 18BuildRequires: libgnomeui-devel >= 2.14.1
e0d67b8e 19BuildRequires: perl-ExtUtils-Depends >= 0.201
20BuildRequires: perl-ExtUtils-PkgConfig >= 1.03
598bcec4
JB
21BuildRequires: perl-Glib-devel >= 1.140
22BuildRequires: perl-Gnome2-Canvas-devel >= 1.002
23BuildRequires: perl-Gnome2-VFS-devel >= 1.060
cf1b96df 24BuildRequires: perl-Gtk2-devel >= 1.140
57313485 25BuildRequires: perl-devel >= 1:5.8.0
598bcec4
JB
26%if %{with tests}
27BuildRequires: perl-Test-Number-Delta >= 1.0
28%endif
65e188f2 29BuildRequires: rpm-perlprov >= 4.1-13
110e7e66 30Requires: libbonoboui >= 2.0.0
2281740b 31Requires: libgnomeui >= 2.14.1
110e7e66 32Requires: perl-Glib >= 1.140
2281740b
JB
33Requires: perl-Gnome2-Canvas >= 1.002
34Requires: perl-Gnome2-VFS >= 1.060
110e7e66 35Requires: perl-Gtk2 >= 1.140
65e188f2
MK
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
b4d8b90a 39The Gnome2 Perl module allows a Perl developer to use the GNOME 2
4dfca209 40libraries.
65e188f2 41
f092dd92
JR
42%description -l pl.UTF-8
43Moduł Perla Gnome2 pozwala programistom perlowym na używanie bibliotek
44środowiska GNOME 2.
65e188f2 45
598bcec4
JB
46%package devel
47Summary: Development files for Perl Gnome2 bindings
48Summary(pl.UTF-8): Pliki programistyczne wiązań Gnome2 dla Perla
49Group: Development/Languages/Perl
50Requires: %{name} = %{version}-%{release}
51Requires: libbonoboui-devel >= 2.0.0
52Requires: libgnomeui-devel >= 2.14.1
53Requires: perl-Glib-devel >= 1.140
54Requires: perl-Gnome2-Canvas-devel >= 1.002
55Requires: perl-Gnome2-VFS-devel >= 1.060
56Requires: perl-Gtk2-devel >= 1.140
57
58%description devel
59Development files for Perl Gnome2 bindings.
60
61%description devel -l pl.UTF-8
62Pliki programistyczne wiązań Gnome2 dla Perla.
63
65e188f2 64%prep
2bc9e649 65%setup -q -n %{pdir}-%{version}
65e188f2
MK
66
67%build
68%{__perl} Makefile.PL \
69 INSTALLDIRS=vendor
70
71%{__make} \
fc00a994 72 CC="%{__cc}" \
65e188f2
MK
73 OPTIMIZE="%{rpmcflags}"
74
0955be0c 75%{?with_tests:%{__make} test}
65e188f2
MK
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
598bcec4 83%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/{*,*/*}.pod
171dca35 84
65e188f2
MK
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files
89%defattr(644,root,root,755)
cf1b96df 90%doc AUTHORS README TODO
2507cecb 91%{perl_vendorarch}/Gnome2.pm
598bcec4
JB
92%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Gnome2.so
93%{_mandir}/man3/Gnome2.3pm*
94%{_mandir}/man3/Gnome2::*.3pm*
95
96%files devel
97%defattr(644,root,root,755)
98%{perl_vendorarch}/Gnome2/Install
This page took 0.077992 seconds and 4 git commands to generate.