muparser/muparser.spec

80 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: muparser
Version: 2.3.4
Release: 1mamba
Summary: Fast Math Parser library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://beltoforion.de/en/muparser/
Source: https://github.com/beltoforion/muparser.git/v%{version}/muparser-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Fast Math Parser library.
%package -n lib%{name}
Group: System/Libraries
Summary: Fast Math Parser library
%description -n lib%{name}
Fast Math Parser library.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmuparser.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/muParser*.h
%{_libdir}/libmuparser.so
%{_libdir}/pkgconfig/muparser.pc
%dir %{_libdir}/cmake/muparser
%{_libdir}/cmake/muparser/muparser*.cmake
%doc README.rst
%changelog
* Tue Nov 22 2022 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
- package created using the webbuild interface