Spec file fix
[profile/ivi/perl-SGMLSpm.git] / packaging / perl-SGMLSpm.spec
1 #specfile originally created for Fedora, modified for Moblin Linux
2 Name:           perl-SGMLSpm
3 Version:        1.03ii
4 Release:        18
5 Summary:        Perl library for parsing the output of nsgmls
6
7 Group:          Development/Libraries
8 License:        GPLv2+
9 URL:            http://search.cpan.org/dist/SGMLSpm/
10 Source0:        SGMLSpm-%{version}.tar.gz
11 #BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13 BuildArch:      noarch
14 BuildRequires:  perl
15 #Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16 Requires:       openjade
17
18 %description
19 Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
20 documents into new formats.
21
22
23 %prep
24 %setup -q -n SGMLSpm-%{version}
25
26 %build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d -m 755 $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}}
31 make install_system \
32     BINDIR=$RPM_BUILD_ROOT%{_bindir} \
33     PERL5DIR=$RPM_BUILD_ROOT%{perl_vendorlib}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38
39 %files
40 %defattr(-,root,root,-)
41 %doc README COPYING
42 %{_bindir}/sgmlspl
43 %{perl_vendorlib}/SGMLS*
44 %{perl_vendorlib}/skel.pl
45
46