summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redhat/ivy-c.tmpl1
-rw-r--r--src/Makefile3
-rw-r--r--src/version.h26
3 files changed, 30 insertions, 0 deletions
diff --git a/redhat/ivy-c.tmpl b/redhat/ivy-c.tmpl
index 004389b..799f437 100644
--- a/redhat/ivy-c.tmpl
+++ b/redhat/ivy-c.tmpl
@@ -8,6 +8,7 @@ $Distribution = "Toccata";
$Group = "Libraries";
$Source = "$Name-$Version.tar.gz";
$Url = "http://www.cenatoulouse.dgac.fr/";
+$BuildArchitectures = "i386";
$BuildRoot = "/var/tmp/ivy-c-buildroot/";
$Requires = "utils-c";
$Description = "Ivy, C interface";
diff --git a/src/Makefile b/src/Makefile
index 09bc9f2..64d1849 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -101,3 +101,6 @@ install: all
ln -s $(PREFIX)/usr/X11R6/lib/libxtivy.so.$(MAJOR).$(MINOR) $(PREFIX)/usr/X11R6/lib/libxtivy.so
install -m644 *.h $(PREFIX)/usr/include
+rpm::
+ /usr/bin/rpmize
+
diff --git a/src/version.h b/src/version.h
new file mode 100644
index 0000000..6a8212f
--- /dev/null
+++ b/src/version.h
@@ -0,0 +1,26 @@
+/*
+ * Ivy, C interface
+ *
+ * Copyright (C) 1997-1999
+ * Centre d'Études de la Navigation Aérienne
+ *
+ * Authors: François-Régis Colin <colin@cenatoulouse.dgac.fr>
+ * Stéphane Chatty <chatty@cenatoulouse.dgac.fr>
+ *
+ * $Id$
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ */