From: Anas Nashif Date: Sun, 7 Jul 2013 21:41:11 +0000 (-0400) Subject: add packaging X-Git-Tag: accepted/tizen/20130708.114640^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fisl.git;a=commitdiff_plain;h=c5a002b518cfc72c60960a740bf4c443aba27ca3 add packaging --- 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