From f681774ff01e6823fd3531a1f77f559b89571d65 Mon Sep 17 00:00:00 2001 From: Jussi Lehtola Date: Sep 30 2009 19:51:38 +0000 Subject: Conform to Fortran Packaging guidelines. Added missing Requires: pkgconfig on -devel. --- diff --git a/matio.spec b/matio.spec index 3fd8bb9..3f6841d 100644 --- a/matio.spec +++ b/matio.spec @@ -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 %{name} 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); do 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 - 1.3.3-5 +- Fix location of Fortran module. +- Add Requires: pkgconfig on -devel. + * Sat Jul 25 2009 Fedora Release Engineering - 1.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild