From 3a06b230508ef75d5bf99071bf42ec7acbaf597d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:00:58 +0100 Subject: [PATCH] package created by autospec [release 1.3.3-1mamba;Thu Nov 19 2009] --- README.md | 2 ++ libmatio.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 libmatio.spec diff --git a/README.md b/README.md index 2471cbb..1cca840 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmatio +An ISO C library (with a limited Fortran 90 interface) for reading and writing Matlab MAT files. + diff --git a/libmatio.spec b/libmatio.spec new file mode 100644 index 0000000..72e9309 --- /dev/null +++ b/libmatio.spec @@ -0,0 +1,60 @@ +Name: libmatio +Version: 1.3.3 +Release: 1mamba +Summary: An ISO C library (with a limited Fortran 90 interface) for reading and writing Matlab MAT files +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://matio.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/matio/matio/%{version}/matio-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An ISO C library (with a limited Fortran 90 interface) for reading and writing Matlab MAT files. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +An ISO C library (with a limited Fortran 90 interface) for reading and writing Matlab MAT files. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n matio-%{version} + +%build +%configure --enable-shared +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libmatio.so.* +%doc COPYING ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_includedir}/*.h +%{_libdir}/libmatio.a +%{_libdir}/libmatio.la +%{_libdir}/libmatio.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Thu Nov 19 2009 Silvan Calarco 1.3.3-1mamba +- package created by autospec