summaryrefslogtreecommitdiff
path: root/rpm/rules
diff options
context:
space:
mode:
authorchatty2000-02-11 15:32:36 +0000
committerchatty2000-02-11 15:32:36 +0000
commit0b7585f2a262750373ead46fe575341694aff978 (patch)
tree3ef231a9d827eaeb9ed4ca597ce585cb05e2c631 /rpm/rules
parent45cb0a7203c5e5e33af5aa91fe4d758e9768e86d (diff)
downloadivy-perl-0b7585f2a262750373ead46fe575341694aff978.zip
ivy-perl-0b7585f2a262750373ead46fe575341694aff978.tar.gz
ivy-perl-0b7585f2a262750373ead46fe575341694aff978.tar.bz2
ivy-perl-0b7585f2a262750373ead46fe575341694aff978.tar.xz
new rpmize version 3.0 -> new spec files
version 4.2 of Ivy
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";
+
+