2024-01-06 04:03:21 +01:00
|
|
|
Name: libctl
|
2024-01-06 04:03:22 +01:00
|
|
|
Version: 4.5.1
|
|
|
|
Release: 1mamba
|
2024-01-06 04:03:21 +01:00
|
|
|
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>
|
2024-01-06 04:03:22 +01:00
|
|
|
URL: https://libctl.readthedocs.io/en/latest/
|
|
|
|
Source: https://github.com/NanoComp/libctl.git/v%{version}/libctl-%{version}.tar.bz2
|
2024-01-06 04:03:21 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libgc-devel
|
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libguile-devel
|
|
|
|
BuildRequires: libunistring-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:03:21 +01:00
|
|
|
BuildRequires: libunistring-devel >= 0.9.6-1mamba
|
2024-01-06 04:03:21 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 04:03:22 +01:00
|
|
|
./autogen.sh
|
2024-01-06 04:03:21 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 04:03:22 +01:00
|
|
|
%{_includedir}/ctl*.h
|
2024-01-06 04:03:21 +01:00
|
|
|
%{_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
|
2024-01-06 04:03:22 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 04:03:21 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 04:03:21 +01:00
|
|
|
* 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
|