rpms/cddlib/F-10 cddlib.spec,1.1,1.2

Conrad Meyer konradm at fedoraproject.org
Thu Feb 26 22:21:19 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/cddlib/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27691

Modified Files:
	cddlib.spec 
Log Message:
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 094f-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild



Index: cddlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cddlib/F-10/cddlib.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cddlib.spec	29 Nov 2008 01:47:07 -0000	1.1
+++ cddlib.spec	26 Feb 2009 22:20:48 -0000	1.2
@@ -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 @@
 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*/.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 @@
 %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 <rel-eng at lists.fedoraproject.org> - 094f-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Nov 28 2008 Conrad Meyer <konrad at tylerc.org> - 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 <konrad at tylerc.org> - 094f-6
 - Describe vividly the process whereby the non-free file is
   stripped from the source tarball.




More information about the scm-commits mailing list