package created using the webbuild interface [release 2.3.2-1mamba;Mon Nov 09 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:23:28 +01:00
parent 385ebfc775
commit fa4c5d34c7
2 changed files with 79 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# muparser # muparser
Fast Math Parser library.

77
muparser.spec Normal file
View File

@ -0,0 +1,77 @@
Name: muparser
Version: 2.3.2
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: ldconfig
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/muParser*.h
%{_libdir}/libmuparser.so
%{_libdir}/pkgconfig/muparser.pc
%doc README.rst
%changelog
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-1mamba
- package created using the webbuild interface