summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'rpm')
-rw-r--r--rpm/changelog36
-rw-r--r--rpm/ivy-perl.tmpl53
-rw-r--r--rpm/ivy-perl.ver2
-rw-r--r--rpm/rules20
4 files changed, 56 insertions, 55 deletions
diff --git a/rpm/changelog b/rpm/changelog
new file mode 100644
index 0000000..d37795f
--- /dev/null
+++ b/rpm/changelog
@@ -0,0 +1,36 @@
+$Version = "4.2";
+$Release = 1;
+
+$ChangeLog = ' * Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.0-1
+- New syntax, new default value for bus.
+
+ * Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.0-2
+- Bug in package spec file
+
+ * Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.0-3
+- Bug in Makefile
+
+ * Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.0-4
+- Bad "Requires" clause
+
+ * Sat Feb 20 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.1-1
+- Corrected bug in Ivy.pm : new version 3.1
+
+ * Sat Feb 20 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.1-2
+- Bug in previous package construction.
+
+ * Tue Apr 13 1999 Michelle Jacomi <jacomi@cenatoulouse.dgac.fr>
+- Generation of ivy-perl-3.1-3
+- doc files added to ivy-perl package
+
+ * Fri Feb 11 2000 Stéphane Chatty <chatty@cena.fr>
+- Generation of perl-Net-Ivy-4.2-1
+- At last an up to date rpm package for Ivy v4
+
+';
diff --git a/rpm/ivy-perl.tmpl b/rpm/ivy-perl.tmpl
deleted file mode 100644
index 3a9ff3d..0000000
--- a/rpm/ivy-perl.tmpl
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/perl
-
-$Summary = " Perl module for accessing the Ivy software bus";
-$Name = "ivyperl";
-$Copyright = "CENA";
-$Vendor = "Centre d'Etudes de la Navigation Aerienne";
-$Distribution = "Toccata";
-$Group = "Libraries";
-$Source = "$Name-$Version.tar.gz";
-$Url = "http://www.cenatoulouse.dgac.fr/";
-$BuildArchitectures = "noarch";
-$BuildRoot = "/var/tmp/tiptop-level-buildroot/";
-$Requires = "perl >= 5.004";
-$Description = "Perl module for accessing the Ivy software bus";
-
-@ChangeLog = ("\n");
-
-1;
-push @ChangeLog, '* Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.0-1
-- New syntax, new default value for bus.
-
-';
-push @ChangeLog, '* Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.0-2
-- Bug in package spec file
-
-';
-push @ChangeLog, '* Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.0-3
-- Bug in Makefile
-
-';
-push @ChangeLog, '* Fri Feb 19 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.0-4
-- Bad "Requires" clause
-
-';
-push @ChangeLog, '* Sat Feb 20 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.1-1
-- Corrected bug in Ivy.pm : new version 3.1
-
-';
-push @ChangeLog, '* Sat Feb 20 1999 Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.1-2
-- Bug in previous package construction.
-
-';
-push @ChangeLog, '* Tue Apr 13 1999 Michelle Jacomi <jacomi@cenatoulouse.dgac.fr>
-- Generation of ivy-perl-3.1-3
-- doc files added to ivy-perl package
-
-';
diff --git a/rpm/ivy-perl.ver b/rpm/ivy-perl.ver
deleted file mode 100644
index be95df2..0000000
--- a/rpm/ivy-perl.ver
+++ /dev/null
@@ -1,2 +0,0 @@
-$Version = 3.1;
-$Release = 3;
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";
+
+