rpms/cddlib/devel cddlib.spec,1.2,1.3

Conrad Meyer konradm at fedoraproject.org
Thu Jan 22 21:09:36 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/cddlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1147

Modified Files:
	cddlib.spec 
Log Message:
Install headers better.


Index: cddlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cddlib/devel/cddlib.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cddlib.spec	29 Nov 2008 04:49:43 -0000	1.2
+++ cddlib.spec	22 Jan 2009 21:09:05 -0000	1.3
@@ -3,7 +3,7 @@
 
 Name:           cddlib
 Version:        094f
-Release:        6%{?dist}
+Release:        7%{?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,16 +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
 %configure
 make %{?_smp_mflags}
+cd doc
+  pdflatex cddlibman.tex
 
 
 %install
 rm -rf $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
@@ -76,7 +83,7 @@
 %defattr(-,root,root,-)
 %doc doc/cddlibman.pdf
 %doc examples* src*
-%{_includedir}/*.h
+%{_includedir}/cddlib
 %{_libdir}/libcdd.a
 %{_libdir}/libcddgmp.a
 
@@ -84,6 +91,8 @@
 %changelog
 * 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




More information about the fedora-extras-commits mailing list