blob: d61a2d6bd4d8c595d96e4c0f14e6cdca48e9e35c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#
# Conditional build:
%bcond_with tests # perform "make test" (uses network!)
#
%include /usr/lib/rpm/macros.perl
%define pdir Netscape
%define pnam History
Summary: Netscape::History perl module
Summary(pl.UTF-8): Moduł perla Netscape::History
Name: perl-Netscape-History
Version: 3.01
Release: 8
License: GPL
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: c818ccf480aae7bf6e62e0566b1fff73
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: perl-URI
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Netscape::History - module for accessing Netscape history database.
%description -l pl.UTF-8
Netscape::History umożliwia dostęp do bazy danych historii Netscape'a.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make}
%{?with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog README
%{perl_vendorlib}/Netscape/History.pm
%{perl_vendorlib}/Netscape/HistoryURL.pm
%{_mandir}/man3/*
|