libmsym/libmsym.spec

70 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: libmsym
Version: 0.2.3
Release: 2mamba
Summary: A C library dealing with point group symmetry in molecules
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/mcodev31/libmsym
Source: https://github.com/mcodev31/libmsym.git/v%{version}/libmsym-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
libmsym is a C library dealing with point group symmetry in molecules.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake \
-DINSTALL_LIB_DIR=%{_libdir} \
-DINSTALL_CMAKE_DIR=%{_libdir}/cmake/libmsym
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmsym.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libmsym
%{_includedir}/libmsym/*
%{_libdir}/libmsym.so
%dir %{_libdir}/cmake/libmsym
%{_libdir}/cmake/libmsym/libmsym*.cmake
%doc README.md
%changelog
* Sat Nov 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-2mamba
- don't obsolete avogadro and libavogadro
* Thu May 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
- package created using the webbuild interface