package created using the webbuild interface [release 2.4.0-1mamba;Sat May 04 2024]
This commit is contained in:
parent
98404facb5
commit
bfc3f0212a
@ -1,2 +1,4 @@
|
|||||||
# spglib
|
# spglib
|
||||||
|
|
||||||
|
C library for finding and handling crystal symmetries.
|
||||||
|
|
||||||
|
73
spglib.spec
Normal file
73
spglib.spec
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
Name: spglib
|
||||||
|
Version: 2.4.0
|
||||||
|
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
|
||||||
|
* Sat May 04 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user