automatic version update by autodist [release 2.8.1-1mamba;Wed Nov 08 2023]
This commit is contained in:
parent
231ef7cd09
commit
54e0b8f02b
54
nut.spec
54
nut.spec
@ -1,6 +1,6 @@
|
||||
Name: nut
|
||||
Version: 2.8.0
|
||||
Release: 2mamba
|
||||
Version: 2.8.1
|
||||
Release: 1mamba
|
||||
Summary: A collection of network UPS tools
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -12,47 +12,28 @@ Source1: nut.sysusers
|
||||
Source2: nut.tmpfiles
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
#ld-linux.so.3(GLIBC_2.4): .so link not found
|
||||
#ld-linux.so.3: .so link not found
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libatomic-devel
|
||||
BuildRequires: libbrotli-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libe2fs-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgd-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgraphite2-devel
|
||||
BuildRequires: libharfbuzz-devel
|
||||
BuildRequires: libi2c-devel
|
||||
BuildRequires: libjbig-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libkrb5-devel
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: libneon-devel
|
||||
BuildRequires: libnetsnmp-devel
|
||||
BuildRequires: libnsl-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libpcre-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libproxy-devel
|
||||
BuildRequires: libpython27-devel
|
||||
BuildRequires: libpython311-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libwrap-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libzstd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@ -122,8 +103,8 @@ find %{buildroot}%{_sysconfdir}/nut -name *.sample -exec rename '.sample' '' {}
|
||||
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nut.conf
|
||||
install -D -m0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/nut.conf
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/nut/solaris-init/nut
|
||||
rmdir %{buildroot}%{_datadir}/nut/solaris-init
|
||||
#rm -f %{buildroot}%{_datadir}/nut/solaris-init/nut
|
||||
#rmdir %{buildroot}%{_datadir}/nut/solaris-init
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -164,12 +145,17 @@ rmdir %{buildroot}%{_datadir}/nut/solaris-init
|
||||
%{_systemd_util_dir}/system-shutdown/nutshutdown
|
||||
%{_sysusersdir}/nut.conf
|
||||
%{_tmpfilesdir}/nut.conf
|
||||
%{_tmpfilesdir}/nut-common.tmpfiles
|
||||
%{_tmpfilesdir}/nut-common-tmpfiles.conf
|
||||
%{python27_sitearch}/PyNUT.py
|
||||
%{python27_sitearch}/test_nutclient.py
|
||||
%{python3_sitearch}/PyNUT.py
|
||||
%{python3_sitearch}/test_nutclient.py
|
||||
%{_datadir}/augeas/lenses/dist/nut*.aug
|
||||
%dir %{_datadir}/nut
|
||||
%{_datadir}/nut/*
|
||||
%{_mandir}/man5/*.conf.5*
|
||||
%{_mandir}/man5/ups*.5*
|
||||
%dir %{_datadir}/nut-monitor
|
||||
%{_datadir}/nut-monitor/*
|
||||
%{_mandir}/man5/*.5*
|
||||
%{_mandir}/man8/*.8*
|
||||
|
||||
%files -n lib%{name}
|
||||
@ -181,27 +167,27 @@ rmdir %{buildroot}%{_datadir}/nut/solaris-init
|
||||
%dir %{_libdir}/nut
|
||||
%{_libdir}/nut/*
|
||||
%{_libexecdir}/nut-driver-enumerator.sh
|
||||
%{_libexecdir}/sockdebug
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libnutclient.la
|
||||
%{_libdir}/libnutclient.so
|
||||
%{_libdir}/libnutclientstub.la
|
||||
%{_libdir}/libnutclientstub.so
|
||||
%{_libdir}/libnutscan.la
|
||||
%{_libdir}/libnutscan.so
|
||||
%{_libdir}/libupsclient.la
|
||||
%{_libdir}/libupsclient.so
|
||||
%{_libdir}/pkgconfig/libnutclient.pc
|
||||
%{_libdir}/pkgconfig/libnutclientstub.pc
|
||||
%{_libdir}/pkgconfig/libnutscan.pc
|
||||
%{_libdir}/pkgconfig/libupsclient.pc
|
||||
%{_mandir}/man3/*.3*
|
||||
%doc NEWS README TODO
|
||||
%doc NEWS README
|
||||
|
||||
%changelog
|
||||
* Wed Nov 08 2023 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-2mamba
|
||||
- fix run path, sysusers and tmpfiles
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user