From c5a002b518cfc72c60960a740bf4c443aba27ca3 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 7 Jul 2013 17:41:11 -0400 Subject: [PATCH] add packaging --- .gbs.conf | 3 +++ packaging/isl.changes | 3 +++ packaging/isl.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 .gbs.conf create mode 100644 packaging/isl.changes create mode 100644 packaging/isl.spec diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..b07108c --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = isl-${upstreamversion} diff --git a/packaging/isl.changes b/packaging/isl.changes new file mode 100644 index 0000000..18f804e --- /dev/null +++ b/packaging/isl.changes @@ -0,0 +1,3 @@ +* Sun Jul 07 2013 Anas Nashif isl-0.12@1770308 +- add packaging + diff --git a/packaging/isl.spec b/packaging/isl.spec new file mode 100644 index 0000000..50a4ad6 --- /dev/null +++ b/packaging/isl.spec @@ -0,0 +1,59 @@ +Name: isl +Version: 0.12 +Release: 0 +License: MIT +Summary: Integer Set Library +Url: http://www.kotnet.org/~skimo/isl/ +Group: Development/Toolchain +Source: isl-%{version}.tar.bz2 +BuildRequires: gmp-devel + +%description +ISL is a library for manipulating sets and relations of integer points +bounded by linear constraints. +It is used by Cloog and the GCC Graphite optimization framework. + +%package devel +Summary: Development tools for ISL +Requires: libisl = %{version} + +%description devel +Development tools and headers for the ISL. + +%package -n libisl +Summary: The ISL shared library + +%description -n libisl +The shared library for the ISL. + +%prep +%setup -q + +%build +%autogen +%configure +make %{?_smp_mflags} + +%check +make %{?_smp_mflags} check + +%install +%make_install +rm -f %{buildroot}%{_libdir}/libisl.so.*-gdb.py + +%post -n libisl -p /sbin/ldconfig + +%postun -n libisl -p /sbin/ldconfig + +%files -n libisl +%defattr(-,root,root,-) +%license LICENSE +%{_libdir}/libisl.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/isl +%{_libdir}/libisl.so +%{_libdir}/pkgconfig/*.pc + +%changelog -- 2.7.4