2024-05-05 10:35:28 +02:00
|
|
|
Name: spglib
|
2024-07-10 20:38:44 +02:00
|
|
|
Version: 2.5.0
|
2024-05-05 10:35:28 +02:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: C library for finding and handling crystal symmetries
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://spglib.readthedocs.io/en/latest/
|
|
|
|
Source: https://github.com/spglib/spglib.git/v%{version}/spglib-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
C library for finding and handling crystal symmetries.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: C library for finding and handling crystal symmetries
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
C library for finding and handling crystal symmetries.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsymspg.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/spglib.h
|
|
|
|
%{_libdir}/libsymspg.so
|
|
|
|
%dir %{_libdir}/cmake/Spglib
|
|
|
|
%{_libdir}/cmake/Spglib/*.cmake
|
|
|
|
%{_libdir}/pkgconfig/spglib.pc
|
|
|
|
%doc ChangeLog.md README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-07-10 20:38:44 +02:00
|
|
|
* Wed Jul 10 2024 Automatic Build System <autodist@openmamba.org> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-05 10:35:28 +02:00
|
|
|
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- package created using the webbuild interface
|