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

Jussi Lehtola jussilehtola at fedoraproject.org
Wed Sep 30 19:51:39 UTC 2009


Author: jussilehtola

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

Modified Files:
	matio.spec 
Log Message:
Conform to Fortran Packaging guidelines. Added missing Requires: pkgconfig on -devel.


Index: matio.spec
===================================================================
RCS file: /cvs/pkgs/rpms/matio/devel/matio.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- matio.spec	25 Jul 2009 11:50:20 -0000	1.2
+++ matio.spec	30 Sep 2009 19:51:38 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           matio
 Version:        1.3.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Library for reading/writing Matlab MAT files
 
 Group:          System Environment/Libraries
@@ -30,6 +30,7 @@ Summary:        Development files for %{
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       zlib-devel
+Requires:       pkgconfig
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -92,6 +93,9 @@ for f in $(find doxygen/html -type f); d
   touch -r doxygen/Makefile.am ${f}
 done
 
+#Fix location of Fortran module
+mkdir -p $RPM_BUILD_ROOT%{_fmoddir}
+mv $RPM_BUILD_ROOT%{_includedir}/matio.mod $RPM_BUILD_ROOT%{_fmoddir}
 
 %check
 pushd test
@@ -116,12 +120,17 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(-,root,root,-)
 %doc doxygen/html
-%{_includedir}/*
+%{_includedir}/matio*.h
+%{_fmoddir}/matio.mod
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
 
 %changelog
+* Wed Sep 30 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.3.3-5
+- Fix location of Fortran module.
+- Add Requires: pkgconfig on -devel.
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list