add packaging files
authorAnas Nashif <anas.nashif@intel.com>
Fri, 12 Oct 2012 00:20:39 +0000 (17:20 -0700)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 4 Nov 2014 08:51:20 +0000 (09:51 +0100)
packaging/baselibs.conf [new file with mode: 0644]
packaging/bison.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..81f33b1
--- /dev/null
@@ -0,0 +1 @@
+bison
diff --git a/packaging/bison.spec b/packaging/bison.spec
new file mode 100644 (file)
index 0000000..667d325
--- /dev/null
@@ -0,0 +1,40 @@
+Name:           bison
+BuildRequires:  gcc-c++
+Version:        2.6
+Release:        0
+Summary:        The GNU Parser Generator
+License:        GPL-3.0+
+Group:          Development/Languages/C and C++
+Url:            http://www.gnu.org/software/bison/bison.html
+Source:         bison-%{version}.tar.xz
+Source2:        baselibs.conf
+Requires:       m4
+
+%description
+Bison is a parser generator similar to yacc(1).
+
+%prep
+%setup -q
+
+%build
+%configure --disable-nls
+make %{?_smp_mflags}
+
+%check
+make %{?_smp_mflags} check
+
+%install
+%make_install
+
+%files 
+%dir %{_datadir}/aclocal
+%{_bindir}/bison
+%{_bindir}/yacc
+%{_libdir}/liby.a
+%{_datadir}/bison
+%dir %{_datadir}/aclocal
+%{_datadir}/aclocal/bison-i18n.m4
+%doc %{_infodir}/bison.info*.gz
+%doc %{_mandir}/man1/bison.1.gz
+%doc %{_mandir}/man1/yacc.1.gz
+