libctl/libctl.spec

95 lines
2.7 KiB
RPMSpec

Name: libctl
Version: 4.5.1
Release: 1mamba
Summary: A free Guile-based library implementing flexible control files for scientific simulations
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libctl.readthedocs.io/en/latest/
Source: https://github.com/NanoComp/libctl.git/v%{version}/libctl-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libgc-devel
BuildRequires: libgmp-devel
BuildRequires: libguile-devel
BuildRequires: libunistring-devel
## AUTOBUILDREQ-END
BuildRequires: libunistring-devel >= 0.9.6-1mamba
%description
libctl is a free Guile-based library implementing flexible control files for scientific simulations. It was written to support our MIT Photonic Bands and Meep software, but has proven useful in other programs too.
%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
./autogen.sh
%build
%configure \
--enable-shared
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libctl.so.*
%{_libdir}/libctlgeom.so.*
%dir %{_datadir}/libctl
%dir %{_datadir}/libctl/base
%{_datadir}/libctl/base/*.c
%{_datadir}/libctl/base/*.scm
%dir %{_datadir}/libctl/utils
%{_datadir}/libctl/utils/*.scm
%{_datadir}/libctl/utils/*.c
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/gen-ctl-io
%{_includedir}/ctl*.h
%{_libdir}/libctl.a
%{_libdir}/libctl.la
%{_libdir}/libctl.so
%{_libdir}/libctlgeom.a
%{_libdir}/libctlgeom.la
%{_libdir}/libctlgeom.so
%{_mandir}/man1/gen-ctl-io.1*
%changelog
* Thu Feb 03 2022 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-1mamba
- update to 4.5.0
* Sun May 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-3mamba
- rebuilt by autoport with build requirements: libunistring-devel>=0.9.6-1mamba
* Tue Dec 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-2mamba
- move %{_datadir}/libctl from devel to main package
* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- package created by silvan using the webbuild interface