2024-01-05 21:31:01 +01:00
|
|
|
Name: coordgenlibs
|
2024-01-05 21:31:02 +01:00
|
|
|
Version: 2.0.3
|
2024-01-05 21:31:01 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Schrodinger-developed 2D Coordinate Generation
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/schrodinger/coordgenlibs.git
|
|
|
|
Source: https://github.com/schrodinger/coordgenlibs.git/v%{version}/coordgenlibs-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libmaeparser-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: libcoordgen = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Schrodinger-developed 2D Coordinate Generation.
|
|
|
|
|
|
|
|
%package -n libcoordgen
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Schrodinger-developed 2D Coordinate Generation.
|
|
|
|
|
|
|
|
%description -n libcoordgen
|
|
|
|
Schrodinger-developed 2D Coordinate Generation.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n libcoordgen-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libcoordgen = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libcoordgen-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%ifarch x86_64
|
|
|
|
sed -i "s|LIBRARY DESTINATION lib)|LIBRARY DESTINATION %{_lib})|" CMakeLists.txt
|
|
|
|
sed -i "s|ARCHIVE DESTINATION lib$|ARCHIVE DESTINATION %{_lib}|" CMakeLists.txt
|
|
|
|
sed -i "s|lib/cmake|%{_lib}/cmake|" CMakeLists.txt
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-05 21:31:02 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCOORDGEN_USE_MAEPARSER=ON
|
|
|
|
|
|
|
|
#-Dmaeparser_DIR=%{_libdir}/cmake
|
2024-01-05 21:31:01 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 21:31:02 +01:00
|
|
|
install -Dm644 templates.mae -t %{buildroot}%{_datadir}/coordgen/templates.mae
|
|
|
|
|
2024-01-05 21:31:01 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n libcoordgen -p /sbin/ldconfig
|
|
|
|
%postun -n libcoordgen -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libcoordgen
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcoordgen.so.*
|
2024-01-05 21:31:02 +01:00
|
|
|
%dir %{_datadir}/coordgen
|
|
|
|
%{_datadir}/coordgen/templates.mae
|
2024-01-05 21:31:01 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n libcoordgen-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/coordgen
|
|
|
|
%{_includedir}/coordgen/*
|
|
|
|
%{_libdir}/libcoordgen.so
|
|
|
|
%{_libdir}/cmake/coordgen-config*.cmake
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:31:02 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:31:01 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:31:01 +01:00
|
|
|
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-1mamba
|
|
|
|
- package created using the webbuild interface
|