From d64ed485519707b4ee16b8c2df163e8afc85b2e9 Mon Sep 17 00:00:00 2001 From: konradm Date: Feb 26 2009 22:20:48 +0000 Subject: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- diff --git a/cddlib.spec b/cddlib.spec index 36c70ff..175f589 100644 --- a/cddlib.spec +++ b/cddlib.spec @@ -1,9 +1,9 @@ %define debug_package %{nil} -# rpmbuild doesn't get useful debuginfo from .a libs +# rpmbuild doesn't get useful debuginfo from .a libs, apparently Name: cddlib Version: 094f -Release: 6%{?dist} +Release: 8%{?dist} Summary: A library for generating all vertices in convex polyhedrons Group: Applications/Engineering License: GPLv2+ @@ -15,6 +15,7 @@ URL: http://www.ifor.math.ethz.ch/~fukuda/cdd_home/ Source0: %{name}-094f-free.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gmp-devel +BuildRequires: texlive-latex %description @@ -56,17 +57,22 @@ rm -rf src/~ rm -rf src*/.DS_Store* src*/.gdb_history examples*/.DS_Store* rm -rf src-gmp/~ chmod -x -R examples*/* src*/* +rm doc/cddlibman.pdf %build -export CFLAGS="%{optflags}" %configure make %{?_smp_mflags} +cd doc + pdflatex cddlibman.tex %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +mkdir $RPM_BUILD_ROOT%{_includedir}/cddlib +mv $RPM_BUILD_ROOT%{_includedir}/{cdd,cdd_f,cddmp,cddmp_f,cddtypes,cddtypes_f,setoper}.h \ + $RPM_BUILD_ROOT%{_includedir}/cddlib/ %clean @@ -77,12 +83,20 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc doc/cddlibman.pdf %doc examples* src* -%{_includedir}/*.h +%{_includedir}/cddlib %{_libdir}/libcdd.a %{_libdir}/libcddgmp.a %changelog +* Mon Feb 23 2009 Fedora Release Engineering - 094f-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Nov 28 2008 Conrad Meyer - 094f-7 +- Install headers with install -p to save timestamps. +- Install headers to namespaced directory. +- Generate pdf from latex source. + * Fri Oct 31 2008 Conrad Meyer - 094f-6 - Describe vividly the process whereby the non-free file is stripped from the source tarball.