summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/cloog.changes3
-rw-r--r--packaging/cloog.manifest5
-rw-r--r--packaging/cloog.spec46
3 files changed, 34 insertions, 20 deletions
diff --git a/packaging/cloog.changes b/packaging/cloog.changes
index d262053..ed14937 100644
--- a/packaging/cloog.changes
+++ b/packaging/cloog.changes
@@ -1,6 +1,3 @@
-* Tue Jun 5 2012 Junfeng Dong <junfeng.dong@intel.com> - 0.15.9
-- Clean up the spec file for auto packaging.
-
* Wed Aug 10 2011 Junfeng Dong <junfeng.dong@intel.com> - 0.15.9
- Drop yaml.
diff --git a/packaging/cloog.manifest b/packaging/cloog.manifest
deleted file mode 100644
index 017d22d..0000000
--- a/packaging/cloog.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/cloog.spec b/packaging/cloog.spec
index 2590778..9e0d715 100644
--- a/packaging/cloog.spec
+++ b/packaging/cloog.spec
@@ -1,12 +1,18 @@
+#
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+#
+# >> macros
+# << macros
+
Name: cloog
Summary: The Chunky Loop Generator
-Version: 0.15.9
+Version: 0.16.1
Release: 1
Group: System/Libraries
License: GPLv2+
URL: http://www.cloog.org
-Source0: %{name}-%{version}.tar.gz
-Source1001: packaging/cloog.manifest
+Source0: %{name}-parma-%{version}.tar.gz
BuildRequires: ppl-devel >= 0.10.2
BuildRequires: gmp-devel >= 4.1.3
BuildRequires: libtool
@@ -43,37 +49,53 @@ The dynamic shared libraries of the Chunky Loop Generator
%prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-parma-%{version}
+
+# >> setup
+# << setup
%build
-cp %{SOURCE1001} .
-%configure --disable-static \
- --with-ppl
+# >> build pre
+# << build pre
+
+%configure --disable-static --with-ppl=system
make %{?jobs:-j%jobs}
+# >> build post
+# << build post
%install
rm -rf %{buildroot}
+# >> install pre
+# << install pre
%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} \;
+# >> install post
rm -rf %{buildroot}/%{_infodir}
+# << install post
%post ppl -p /sbin/ldconfig
%postun ppl -p /sbin/ldconfig
%files
-%manifest cloog.manifest
%defattr(-,root,root,-)
+# >> files
+# << files
+
%files ppl-devel
-%manifest cloog.manifest
%defattr(-,root,root,-)
+# >> files ppl-devel
%{_includedir}/cloog
-%{_libdir}/libcloog.so
+%{_libdir}/libcloog-ppl.so
+%{_libdir}/pkgconfig/cloog-ppl.pc
+# << files ppl-devel
%files ppl
-%manifest cloog.manifest
%defattr(-,root,root,-)
+# >> files ppl
%{_bindir}/cloog
-%{_libdir}/libcloog.so.*
+%{_libdir}/libcloog-ppl.so.*
+# << files ppl