diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 15:06:57 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-30 15:06:57 -0700 |
commit | bd29f57677e8da90454c0f849aa1fa40c4e99a94 (patch) | |
tree | 05a664c18687cc17856f1ce1e4289eb70e77cd47 /packaging | |
parent | eeae52cace9255e93995b708545373a28b57de9e (diff) | |
download | cloog-bd29f57677e8da90454c0f849aa1fa40c4e99a94.tar.gz cloog-bd29f57677e8da90454c0f849aa1fa40c4e99a94.tar.bz2 cloog-bd29f57677e8da90454c0f849aa1fa40c4e99a94.zip |
add packaging
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/baselibs.conf | 4 | ||||
-rw-r--r-- | packaging/cloog.spec | 65 |
2 files changed, 69 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..99d9a65 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,4 @@ +libcloog + targetarch ia64 block! +cloog-devel + requires "libcloog-<targettype> = <version>" diff --git a/packaging/cloog.spec b/packaging/cloog.spec new file mode 100644 index 0000000..a83b27a --- /dev/null +++ b/packaging/cloog.spec @@ -0,0 +1,65 @@ +Name: cloog +Version: 0.15.10+ppl +Release: 0 +Summary: The Chunky Loop Generator +License: GPL-2.0+ +Group: Development/Languages/C and C++ +Url: http://www.cloog.org/ +Source: cloog-ppl-0.15.10.tar.bz2 +Source1: baselibs.conf +BuildRequires: libtool +BuildRequires: ppl-devel + +%description +CLooG is a free software and library to generate code for scanning +Z-polyhedra. It is used by the GCC Graphite optimization framework. + +%package devel +Summary: Development tools for CLOOG +Group: Development/Languages/C and C++ +Requires: libcloog = %{version}-%{release} + +%description devel +Development tools and headers for the Chunky Loop Generator. + +%package -n libcloog +Summary: The CLOOG shared library +Group: Development/Languages/C and C++ + +%description -n libcloog +The shared library for the Chunky Loop Generator. + +%prep +%setup -q -n cloog-ppl-0.15.10 + +%build +./autogen.sh +%configure --with-ppl +make %{_smp_mflags} + +%check +make %{_smp_mflags} check + +%install +%make_install + +%post -n libcloog -p /sbin/ldconfig + +%postun -n libcloog -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_bindir}/cloog +%doc %{_infodir}/cloog.info*gz + +%files -n libcloog +%defattr(-,root,root,-) +%{_libdir}/libcloog.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/cloog +%{_libdir}/libcloog.so +%{_libdir}/libcloog.a + +%changelog |