rpms/eigen2/devel eigen2-pkgconfig_noarch.patch, NONE, 1.1 eigen2.spec, 1.18, 1.19

Rex Dieter rdieter at fedoraproject.org
Wed Jul 1 16:52:22 UTC 2009


Author: rdieter

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

Modified Files:
	eigen2.spec 
Added Files:
	eigen2-pkgconfig_noarch.patch 
Log Message:
add some pkgconfig love


eigen2-pkgconfig_noarch.patch:

--- NEW FILE eigen2-pkgconfig_noarch.patch ---
diff -up eigen2/CMakeLists.txt.pkgconfig_noarch eigen2/CMakeLists.txt
--- eigen2/CMakeLists.txt.pkgconfig_noarch	2009-06-22 03:44:09.000000000 -0500
+++ eigen2/CMakeLists.txt	2009-07-01 11:50:50.590919637 -0500
@@ -114,7 +114,7 @@ set(INCLUDE_INSTALL_DIR
 if(EIGEN_BUILD_PKGCONFIG)
     configure_file(eigen2.pc.in eigen2.pc)
     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen2.pc
-        DESTINATION lib/pkgconfig
+        DESTINATION share/pkgconfig
         )
 endif(EIGEN_BUILD_PKGCONFIG)
 


Index: eigen2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eigen2/devel/eigen2.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- eigen2.spec	1 Jul 2009 16:09:12 -0000	1.18
+++ eigen2.spec	1 Jul 2009 16:51:52 -0000	1.19
@@ -22,7 +22,11 @@ Source0: http://bitbucket.org/eigen/eige
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
+## upstreamable patches
+Patch50: eigen2-pkgconfig_noarch.patch
+
 BuildRequires: cmake
+BuildRequires: pkgconfig
 #docs
 BuildRequires: doxygen graphviz
 
@@ -54,6 +58,7 @@ Summary: A lightweight C++ template libr
 Group:   Development/Libraries
 # -devel subpkg only atm, compat with other distros
 Provides: %{name} = %{version}-%{release}
+Requires: pkgconfig
 %description devel
 %{summary}
 
@@ -61,6 +66,8 @@ Provides: %{name} = %{version}-%{release
 %prep
 %setup -q -n eigen2%{!?snap:-%{version}}
 
+%patch50 -p1 -b .pkgconfig_noarch
+
 
 %build
 
@@ -98,6 +105,7 @@ rm -rf %{buildroot}
 %doc COPYING COPYING.LESSER
 %doc html/
 %{_includedir}/eigen2/
+%{_datadir}/pkgconfig/eigen2.pc
 
 
 %changelog




More information about the fedora-extras-commits mailing list