update to 2.0.3 [release 2.0.3-1mamba;Mon Apr 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:31:02 +01:00
parent 7458210c9c
commit 5be77ff990

View File

@ -1,5 +1,5 @@
Name: coordgenlibs
Version: 1.4.2
Version: 2.0.3
Release: 1mamba
Summary: Schrodinger-developed 2D Coordinate Generation
Group: System/Libraries
@ -7,19 +7,16 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/schrodinger/coordgenlibs.git
## GITSOURCE https://github.com/schrodinger/coordgenlibs.git v1.3.2
Source: https://github.com/schrodinger/coordgenlibs.git/v%{version}/coordgenlibs-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libmaeparser-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: libcoordgen = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Schrodinger-developed 2D Coordinate Generation.
@ -52,7 +49,10 @@ sed -i "s|lib/cmake|%{_lib}/cmake|" CMakeLists.txt
%build
%cmake -d build \
-Dmaeparser_DIR=%{_libdir}/cmake
-DCMAKE_INSTALL_PREFIX=/usr \
-DCOORDGEN_USE_MAEPARSER=ON
#-Dmaeparser_DIR=%{_libdir}/cmake
%make
@ -60,6 +60,8 @@ sed -i "s|lib/cmake|%{_lib}/cmake|" CMakeLists.txt
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -Dm644 templates.mae -t %{buildroot}%{_datadir}/coordgen/templates.mae
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,8 +71,8 @@ sed -i "s|lib/cmake|%{_lib}/cmake|" CMakeLists.txt
%files -n libcoordgen
%defattr(-,root,root)
%{_libdir}/libcoordgen.so.*
#%dir %{_datadir}/coordgen
#%{_datadir}/coordgen/templates.mae
%dir %{_datadir}/coordgen
%{_datadir}/coordgen/templates.mae
%doc LICENSE
%files -n libcoordgen-devel
@ -82,6 +84,15 @@ sed -i "s|lib/cmake|%{_lib}/cmake|" CMakeLists.txt
%doc README.md
%changelog
* Mon Apr 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
- update to 2.0.3
* Tue Apr 06 2021 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Wed Mar 31 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist