update to 2.4.48 [release 2.4.48-1mamba;Sat Jul 28 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 20:38:06 +01:00
parent 4c5b167b82
commit 158a8aedb4

View File

@ -1,5 +1,5 @@
Name: attr Name: attr
Version: 2.4.47 Version: 2.4.48
Release: 1mamba Release: 1mamba
Summary: Commands for Manipulating Filesystem Extended Attributes Summary: Commands for Manipulating Filesystem Extended Attributes
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -7,13 +7,13 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://savannah.nongnu.org/projects/attr URL: http://savannah.nongnu.org/projects/attr
Source: http://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.src.tar.gz Source: http://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
Patch0: %{name}-2.4.46-build.patch Patch0: %{name}-2.4.46-build.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%ifarch x86_64 %ifarch x86_64_disabled
BuildRequires: gcc-multilib BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel BuildRequires: glibc-multilib-devel
%endif %endif
@ -61,10 +61,7 @@ This package contains static libraries and header files needed for development.
#%patch0 -p1 #%patch0 -p1
%build %build
%configure \ %configure
--libdir=/%{_lib} \
--libexecdir=/%{_lib}
# --disable-static
%make \ %make \
%if "%{_host}" != "%{_build}" %if "%{_host}" != "%{_build}"
@ -74,8 +71,8 @@ This package contains static libraries and header files needed for development.
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%makeinstall install-dev #% makeinstall install-dev
%makeinstall install-lib #% makeinstall install-lib
%find_lang %{name} %find_lang %{name}
@ -84,7 +81,7 @@ rm -fr %{buildroot}%{_datadir}/doc/attr
# already provided by manpages # already provided by manpages
rm -f %{buildroot}%{_mandir}/man2/*attr.2* rm -f %{buildroot}%{_mandir}/man2/*attr.2*
%ifarch x86_64 %ifarch x86_64_disabled
# x86_64 lib32 support # x86_64 lib32 support
make clean make clean
@ -111,30 +108,31 @@ cp -a lib32/lib %{buildroot}/
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/xattr.conf
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/getfattr %{_bindir}/getfattr
%{_bindir}/setfattr %{_bindir}/setfattr
%{_mandir}/man1/%{name}.* %{_mandir}/man1/%{name}.*
%{_mandir}/man1/getfattr.* %{_mandir}/man1/getfattr.*
%{_mandir}/man1/setfattr.* %{_mandir}/man1/setfattr.*
%{_mandir}/man5/attr.* #%{_mandir}/man5/attr.*
%doc doc/COPYING %doc doc/COPYING
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
/%{_lib}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/%{name} %{_includedir}/%{name}
/%{_lib}/lib%{name}.a %{_libdir}/lib%{name}.a
/%{_lib}/lib%{name}.la %{_libdir}/lib%{name}.la
/%{_lib}/lib%{name}.so %{_libdir}/lib%{name}.so
#%{_mandir}/man2/*attr.2* %{_libdir}/pkgconfig/libattr.pc
%{_mandir}/man3/attr_* %{_mandir}/man3/attr_*
%doc README doc/PORTING doc/CHANGES.gz %doc README
%ifarch x86_64 %ifarch x86_64_disabled
%files -n lib32-lib%{name} %files -n lib32-lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
/lib/lib%{name}.so.* /lib/lib%{name}.so.*
@ -148,6 +146,9 @@ cp -a lib32/lib %{buildroot}/
%endif %endif
%changelog %changelog
* Sat Jul 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.48-1mamba
- update to 2.4.48
* Thu May 23 2013 Automatic Build System <autodist@mambasoft.it> 2.4.47-1mamba * Thu May 23 2013 Automatic Build System <autodist@mambasoft.it> 2.4.47-1mamba
- automatic update by autodist - automatic update by autodist