###############################################################################
name = perl-SGMLSpm
-version = 1.03ii
-release = 1
+version = 1.1
+release = 2
+thisapp = SGMLSpm-%{version}
arch = noarch
groups = Development/Libraries
documents into new formats.
end
-source_dl = http://www.cpan.org/authors/id/D/DM/DMEGG/
-
-thisapp = SGMLSpm-%{version}
+source_dl = https://cpan.metacpan.org/authors/id/R/RA/RAAB/
build
- DIR_APP = %{DIR_SRC}/SGMLSpm
+ requires
+ perl(ExtUtils::MakeMaker)
+ perl(Test::More)
+ end
- build = # Nothing to do.
+ build
+ perl Makefile.PL INSTALLDIRS=vendor
+ make %{PARALLELISMFLAGS}
+ end
- install
- # Create directory layout.
- mkdir -pv %{BUILDROOT}/usr/bin
- mkdir -pv %{BUILDROOT}/usr/share/perl5
+ test
+ make test
+ end
- # Install the module.
- make install_system \
- BINDIR=%{BUILDROOT}/usr/bin/ \
- PERL5DIR=%{BUILDROOT}/usr/share/perl5/
+ install_cmds
+ # Drop unwanted script
+ rm -rvf %{BUILDROOT}%{bindir}/sgmlspl.pl
end
end