summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/cloog.changes3
-rw-r--r--packaging/cloog.spec31
2 files changed, 5 insertions, 29 deletions
diff --git a/packaging/cloog.changes b/packaging/cloog.changes
index ed14937..d262053 100644
--- a/packaging/cloog.changes
+++ b/packaging/cloog.changes
@@ -1,3 +1,6 @@
+* 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.spec b/packaging/cloog.spec
index 417bd8b..2590778 100644
--- a/packaging/cloog.spec
+++ b/packaging/cloog.spec
@@ -1,10 +1,3 @@
-#
-# 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
@@ -12,7 +5,7 @@ Release: 1
Group: System/Libraries
License: GPLv2+
URL: http://www.cloog.org
-Source0: %{name}-ppl-%{version}.tar.gz
+Source0: %{name}-%{version}.tar.gz
Source1001: packaging/cloog.manifest
BuildRequires: ppl-devel >= 0.10.2
BuildRequires: gmp-devel >= 4.1.3
@@ -50,32 +43,20 @@ The dynamic shared libraries of the Chunky Loop Generator
%prep
-%setup -q -n %{name}-ppl-%{version}
-
-# >> setup
-# << setup
+%setup -q -n %{name}-%{version}
%build
cp %{SOURCE1001} .
-# >> build pre
-# << build pre
-
%configure --disable-static \
--with-ppl
make %{?jobs:-j%jobs}
-# >> build post
-# << build post
%install
rm -rf %{buildroot}
-# >> install pre
-# << install pre
%make_install
-# >> install post
rm -rf %{buildroot}/%{_infodir}
-# << install post
%post ppl -p /sbin/ldconfig
@@ -84,23 +65,15 @@ rm -rf %{buildroot}/%{_infodir}
%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
-# << files ppl-devel
%files ppl
%manifest cloog.manifest
%defattr(-,root,root,-)
-# >> files ppl
%{_bindir}/cloog
%{_libdir}/libcloog.so.*
-# << files ppl
-