summaryrefslogtreecommitdiff
path: root/rpm/rules
blob: e387f5800749a57791a5a059d72fcd506cb02989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$Summary = " Perl module for accessing the Ivy software bus";
$Name = "perl-Net-Ivy";
$Copyright = "CENA";
$Vendor = "Centre d'Etudes de la Navigation Aerienne";
$Distribution = "Toccata";
$Group = "System Environment/Libraries";
$Url = "http://www.tls.cena.fr/products/ivy";
$Requires = "perl, perl-IO-Socket-Multicast";
$Description = "This is the Perl interface to the Ivy software bus developped at CENA.";

$Build =  "eval `perl '-V:vendorlib_stem'`
perl Makefile.PL LIB=\$vendorlib_stem INSTALLDIRS=vendor
make";


$Install = "rm -rf \$RPM_BUILD_ROOT
eval `perl '-V:vendorlib_stem'`
mkdir -p \$RPM_BUILD_ROOT/\$vendorlib_stem
make PREFIX=\$RPM_BUILD_ROOT/usr pure_install
find \$RPM_BUILD_ROOT/usr -type f -print | sed \"s\@^\$RPM_BUILD_ROOT\@\@g\" | grep -v .packlist > $Name-\%{version}-filelist";