summaryrefslogtreecommitdiff
path: root/rpm/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/rules')
-rw-r--r--rpm/rules20
1 files changed, 20 insertions, 0 deletions
diff --git a/rpm/rules b/rpm/rules
new file mode 100644
index 0000000..f2992c9
--- /dev/null
+++ b/rpm/rules
@@ -0,0 +1,20 @@
+$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 = "Libraries";
+$Url = "http://www.tls.cena.fr/divisions/PII/";
+$Requires = "perl >= 5.005, perl-Time-Gettimeofday";
+$Description = "This is the Perl interface to the Ivy software bus developped at CENA.";
+
+$Build = "perl Makefile.PL
+make";
+
+$Install = "rm -rf \$RPM_BUILD_ROOT
+eval `perl '-V:installarchlib'`
+mkdir -p \$RPM_BUILD_ROOT/\$installarchlib
+make PREFIX=\$RPM_BUILD_ROOT/usr install
+find \$RPM_BUILD_ROOT/usr -type f -print | sed \"s\@^\$RPM_BUILD_ROOT\@\@g\" | grep -v perllocal.pod > $Name-\%{version}-filelist";
+
+