package created using the webbuild interface [release 1.3.2-1mamba;Fri Nov 22 2019]
This commit is contained in:
parent
f351320441
commit
9477b03a84
86
coordgenlibs.spec
Normal file
86
coordgenlibs.spec
Normal file
@ -0,0 +1,86 @@
|
||||
Name: coordgenlibs
|
||||
Version: 1.3.2
|
||||
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
|
||||
## 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.
|
||||
|
||||
%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 \
|
||||
-Dmaeparser_DIR=%{_libdir}/cmake
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%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.*
|
||||
%dir %{_datadir}/coordgen
|
||||
%{_datadir}/coordgen/templates.mae
|
||||
%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
|
||||
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user