mirror of
https://github.com/YellowJacketLinux/LFS.git
synced 2025-01-23 14:32:15 +08:00
fixes issue #3
This commit is contained in:
parent
1f7ef7a175
commit
3c2c81a0df
@ -1,88 +0,0 @@
|
||||
Name: acl
|
||||
Version: 2.3.1
|
||||
Release: %{?repo}0.rc1%{?dist}
|
||||
Summary: POSIX Access Control List tools
|
||||
|
||||
Group: System Environment/Utilities
|
||||
License: GPLv2 and LGPLv2.1
|
||||
URL: https://savannah.nongnu.org/projects/acl/
|
||||
Source0: https://download.savannah.gnu.org/releases/acl/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: coreutils libattr-devel
|
||||
Requires: libacl = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This package contains tools for manipulating POSIX Access Control
|
||||
Lists.
|
||||
|
||||
%package -n libacl
|
||||
Group: System Environment/Libraries
|
||||
Summary: The libacl shared library
|
||||
|
||||
%description -n libacl
|
||||
This package includes the libacl shared library.
|
||||
|
||||
%package -n libacl-devel
|
||||
Group: Development/Libraries
|
||||
Summary: libacl development files
|
||||
Requires: libacl = %{version}-%{release}
|
||||
|
||||
%description -n libacl-devel
|
||||
This package contains the files needed to compile software that links
|
||||
against the libacl library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check > %{name}-make.check.log 2>&1
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%find_lang %{name}
|
||||
rm -rf %{buildroot}%{_datadir}/doc/acl
|
||||
|
||||
|
||||
%post -n libacl -p /sbin/ldconfig
|
||||
%postun -n libacl -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %{_bindir}/chacl
|
||||
%attr(0755,root,root) %{_bindir}/getfacl
|
||||
%attr(0755,root,root) %{_bindir}/setfacl
|
||||
%attr(0644,root,root) %{_mandir}/man1/chacl.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/getfacl.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/setfacl.1*
|
||||
%attr(0644,root,root) %{_mandir}/man5/acl.5*
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc %{name}-make.check.log
|
||||
%doc doc/CHANGES doc/COPYING
|
||||
|
||||
%files -n libacl
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %{_libdir}/libacl.so.1.1.2301
|
||||
%{_libdir}/libacl.so.1
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
|
||||
%files -n libacl-devel
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %dir %{_includedir}/acl
|
||||
%attr(0644,root,root) %{_includedir}/acl/libacl.h
|
||||
%attr(0644,root,root) %{_includedir}/sys/acl.h
|
||||
%{_libdir}/libacl.so
|
||||
%attr(0644,root,root) %{_libdir}/pkgconfig/libacl.pc
|
||||
%attr(0644,root,root) %{_mandir}/man3/*.3*
|
||||
%doc doc/libacl.txt doc/extensions.txt
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.3.1-0.rc1
|
||||
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
|
@ -1,89 +0,0 @@
|
||||
Name: attr
|
||||
Version: 2.5.1
|
||||
Release: %{?repo}0.rc1%{?dist}
|
||||
Summary: Utilities for filesystem extended attributes
|
||||
|
||||
Group: System Environment/Utilities
|
||||
License: GPLv2 LGPLv2
|
||||
URL: https://savannah.nongnu.org/projects/attr/
|
||||
Source0: https://download.savannah.gnu.org/releases/attr/%{name}-%{version}.tar.gz
|
||||
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Binaries for working with filesystem extended attributes.
|
||||
|
||||
%package -n libattr
|
||||
Group: System Environment/Libraries
|
||||
Summary: The libattr shared library
|
||||
|
||||
%description -n libattr
|
||||
This package contains the libattr shared library.
|
||||
|
||||
%package -n libattr-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for libattr
|
||||
Requires: libattr = %{version}-%{release}
|
||||
|
||||
%description -n libattr-devel
|
||||
This package contains the developer files needed to compile software
|
||||
that links against the libattr library.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check > %{name}-make.check.log 2>&1
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -rf %{buildroot}%{_datadir}/doc/attr
|
||||
%find_lang %{name}
|
||||
|
||||
%post -n libattr -p /sbin/ldconfig
|
||||
%postun -n libattr -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/xattr.conf
|
||||
%attr(0755,root,root) %{_bindir}/attr
|
||||
%attr(0755,root,root) %{_bindir}/getfattr
|
||||
%attr(0755,root,root) %{_bindir}/setfattr
|
||||
%attr(0644,root,root) %{_mandir}/man1/attr.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/getfattr.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/setfattr.1*
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc doc/CHANGES doc/COPYING doc/COPYING.LGPL
|
||||
%doc %{name}-make.check.log
|
||||
|
||||
%files -n libattr
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %{_libdir}/libattr.so.1.1.2501
|
||||
%{_libdir}/libattr.so.1
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
|
||||
%files -n libattr-devel
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %dir %{_includedir}/attr
|
||||
%attr(0644,root,root) %{_includedir}/attr/*.h
|
||||
%{_libdir}/libattr.so
|
||||
%attr(0644,root,root) %{_libdir}/pkgconfig/libattr.pc
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_get.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_list.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_multi.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_remove.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_set.3*
|
||||
%{_mandir}/man3/attr_getf.3*
|
||||
%{_mandir}/man3/attr_listf.3*
|
||||
%{_mandir}/man3/attr_multif.3*
|
||||
%{_mandir}/man3/attr_removef.3*
|
||||
%{_mandir}/man3/attr_setf.3*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 06 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.5.1-0.rc1
|
||||
- Initial spec file for YJL (RPM bootstrapping LFS/BLFS 11.3)
|
92
SPECS/libacl.spec
Normal file
92
SPECS/libacl.spec
Normal file
@ -0,0 +1,92 @@
|
||||
%define tarname acl
|
||||
Name: lib%{tarname}
|
||||
Version: 2.3.1
|
||||
Release: %{?repo}0.rc2%{?dist}
|
||||
Summary: Commands for Manipulating POSIX Access Control Lists
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2.1 and GPLv2
|
||||
URL: http://savannah.nongnu.org/projects/acl
|
||||
Source0: https://download.savannah.gnu.org/releases/acl/%{tarname}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: libattr-devel
|
||||
#Requires:
|
||||
|
||||
%description
|
||||
A library for implementing Posix 1003.1e DS17 Access Control Lists.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the header files and related developer files
|
||||
needed to compile software that links against the libacl library.
|
||||
|
||||
%package utils
|
||||
Summary: Command line utilities for working with ACLs
|
||||
Group: System Environment/Administration
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{tarname} = %{version}
|
||||
|
||||
%description utils
|
||||
This package provides the chacl, getfacl, and setfacl command line
|
||||
utilities for working with Access Control Lists.
|
||||
|
||||
%prep
|
||||
%setup -n %{tarname}-%{version}
|
||||
|
||||
%build
|
||||
%configure --libdir=/%{_lib} \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check > %{name}-make.check.log 2>&1
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} pkgconfdir=%{_libdir}/pkgconfig
|
||||
%find_lang acl
|
||||
rm -rf %{buildroot}%{_datadir}/doc/acl
|
||||
|
||||
sed -i 's?^libdir=.*?libdir=%{_libdir}?' %{buildroot}%{_libdir}/pkgconfig/libacl.pc
|
||||
rm -f %{buildroot}/%{_lib}/libacl.so
|
||||
ln -sf ../../%{_lib}/libacl.so.1.1.2301 %{buildroot}%{_libdir}/libacl.so
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f acl.lang
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) /%{_lib}/libacl.so.1.1.2301
|
||||
/%{_lib}/libacl.so.1
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc README doc/CHANGES doc/COPYING doc/COPYING.LGPL
|
||||
%doc %{name}-make.check.log
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %dir %{_includedir}/acl
|
||||
%attr(0644,root,root) %{_includedir}/acl/libacl.h
|
||||
%attr(0644,root,root) %{_includedir}/sys/acl.h
|
||||
%{_libdir}/libacl.so
|
||||
%attr(0644,root,root) %{_libdir}/pkgconfig/libacl.pc
|
||||
%attr(0644,root,root) %{_mandir}/man3/*.3*
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc doc/extensions.txt doc/libacl.txt
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %{_bindir}/*
|
||||
%attr(0644,root,root) %{_mandir}/man1/*.1*
|
||||
%attr(0644,root,root) %{_mandir}/man5/*.5*
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.3.1-0.rc2
|
||||
- spec file cleanup, rebuild with newly packaged gcc
|
||||
|
||||
* Wed Mar 15 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.3.1-0.rc1
|
||||
- Initial packaging for YJL (LFS 11.3)
|
101
SPECS/libattr.spec
Normal file
101
SPECS/libattr.spec
Normal file
@ -0,0 +1,101 @@
|
||||
%define tarname attr
|
||||
Name: libattr
|
||||
Version: 2.5.1
|
||||
Release: %{?repo}0.rc2%{?dist}
|
||||
Summary: Extended File System Attribute Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2.1 and GPLv2
|
||||
URL: https://savannah.nongnu.org/projects/attr
|
||||
Source0: https://download.savannah.gnu.org/releases/attr/%{tarname}-%{version}.tar.gz
|
||||
|
||||
#BuildRequires:
|
||||
#Requires:
|
||||
|
||||
%description
|
||||
This package contains a library for working with file system extended
|
||||
attributes.
|
||||
|
||||
%package devel
|
||||
Summary: Developer files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the header files and other files needed to compile
|
||||
software that links against the %{name} library.
|
||||
|
||||
%package utils
|
||||
Summary: Utilities for managing extended attributes
|
||||
Group: System Environment/Utilities
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Provides: %{tarname} = %{version}
|
||||
|
||||
%description utils
|
||||
This package provides the attr, getfattr, and setfattry command line
|
||||
utilities for working with extended file system attributes.
|
||||
|
||||
%prep
|
||||
%setup -n %{tarname}-%{version}
|
||||
|
||||
%build
|
||||
%configure --libdir=/%{_lib} --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check > %{name}-make.check.log 2>&1
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} pkgconfdir=%{_libdir}/pkgconfig
|
||||
%find_lang attr
|
||||
rm -rf %{buildroot}%{_datadir}/doc/attr
|
||||
sed -i 's?^libdir=.*?libdir=%{_libdir}?' %{buildroot}%{_libdir}/pkgconfig/libattr.pc
|
||||
rm -f %{buildroot}/%{_lib}/libattr.so
|
||||
ln -sf ../../%{_lib}/libattr.so.1.1.2501 %{buildroot}%{_libdir}/libattr.so
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f attr.lang
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) /%{_lib}/libattr.so.1.1.2501
|
||||
/%{_lib}/libattr.so.1
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc %{name}-make.check.log
|
||||
%doc README doc/CHANGES doc/COPYING doc/COPYING.LGPL doc/PORTING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0755,root,root) %dir %{_includedir}/attr
|
||||
%attr(0644,root,root) %{_includedir}/attr/*.h
|
||||
%{_libdir}/libattr.so
|
||||
%attr(0644,root,root) %{_libdir}/pkgconfig/libattr.pc
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_get.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_list.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_multi.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_remove.3*
|
||||
%attr(0644,root,root) %{_mandir}/man3/attr_set.3*
|
||||
%{_mandir}/man3/attr_getf.3*
|
||||
%{_mandir}/man3/attr_listf.3*
|
||||
%{_mandir}/man3/attr_multif.3*
|
||||
%{_mandir}/man3/attr_removef.3*
|
||||
%{_mandir}/man3/attr_setf.3*
|
||||
%license doc/COPYING doc/COPYING.LGPL
|
||||
%doc examples
|
||||
|
||||
%files utils
|
||||
%defattr(-,root,root,-)
|
||||
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/xattr.conf
|
||||
%attr(0755,root,root) %{_bindir}/attr
|
||||
%attr(0755,root,root) %{_bindir}/getfattr
|
||||
%attr(0755,root,root) %{_bindir}/setfattr
|
||||
%attr(0644,root,root) %{_mandir}/man1/attr.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/getfattr.1*
|
||||
%attr(0644,root,root) %{_mandir}/man1/setfattr.1*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 16 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.5.1-0.rc2
|
||||
- Spec file cleanup, rebuild with newly packaged gcc
|
||||
|
||||
* Wed Mar 15 2023 Michael A. Peters <anymouseprophet@gmail.com> - 2.5.1-0.rc1
|
||||
- Initial spec file for YJL (LFS 11.3 environment)
|
Loading…
Reference in New Issue
Block a user