diff options
-rw-r--r-- | .gbs.conf | 3 | ||||
-rw-r--r-- | packaging/isl.changes | 3 | ||||
-rw-r--r-- | packaging/isl.spec | 59 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 00000000..b07108cc --- /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 00000000..18f804e9 --- /dev/null +++ b/packaging/isl.changes @@ -0,0 +1,3 @@ +* Sun Jul 07 2013 Anas Nashif <anas.nashif@intel.com> isl-0.12@1770308 +- add packaging + diff --git a/packaging/isl.spec b/packaging/isl.spec new file mode 100644 index 00000000..50a4ad6b --- /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 |