Blame SPECS/attr.spec

77b877
Summary: Utilities for managing filesystem extended attributes
77b877
Name: attr
77b877
Version: 2.4.48
77b877
Release: 3%{?dist}
77b877
Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz
77b877
77b877
# fix test-suite failure with perl-5.26.0 (#1473853)
77b877
Patch1:  0001-attr-2.4.48-test-suite-perl.patch
77b877
77b877
License: GPLv2+
77b877
URL: https://savannah.nongnu.org/projects/attr
77b877
BuildRequires: gettext
77b877
BuildRequires: libtool
77b877
Requires: libattr = %{version}-%{release}
77b877
77b877
%description
77b877
A set of tools for manipulating extended attributes on filesystem
77b877
objects, in particular getfattr(1) and setfattr(1).
77b877
An attr(1) command is also provided which is largely compatible
77b877
with the SGI IRIX tool of the same name.
77b877
77b877
%package -n libattr
77b877
Summary: Dynamic library for extended attribute support
77b877
License: LGPLv2+
77b877
Conflicts: filesystem < 3
77b877
77b877
%description -n libattr
77b877
This package contains the libattr.so dynamic library which contains
77b877
the extended attribute system calls and library functions.
77b877
77b877
%package -n libattr-devel
77b877
Summary: Files needed for building programs with libattr
77b877
License: LGPLv2+
77b877
Requires: libattr = %{version}-%{release}
77b877
77b877
# for <sys/xattr.h> which <attr/xattr.h> is symlinked to
77b877
Requires: glibc-headers
77b877
77b877
# provides {,f,l}{get,list,remove,set}xattr.2 man pages
77b877
Recommends: man-pages
77b877
77b877
%description -n libattr-devel
77b877
This package contains header files and documentation needed to
77b877
develop programs which make use of extended attributes.
77b877
For Linux programs, the documented system call API is the
77b877
recommended interface, but an SGI IRIX compatibility interface
77b877
is also provided.
77b877
77b877
Currently only ext2, ext3 and XFS support extended attributes.
77b877
The SGI IRIX compatibility API built above the Linux system calls is
77b877
used by programs such as xfsdump(8), xfsrestore(8) and xfs_fsr(8).
77b877
77b877
You should install libattr-devel if you want to develop programs
77b877
which make use of extended attributes.  If you install libattr-devel,
77b877
you'll also want to install attr.
77b877
77b877
%prep
77b877
%autosetup -p1
77b877
77b877
# FIXME: root tests are not ready for SELinux
77b877
sed -e 's|test/root/getfattr.test||' \
77b877
    -i test/Makemodule.am Makefile.in
77b877
77b877
%build
77b877
%configure
77b877
77b877
make %{?_smp_mflags}
77b877
77b877
%check
77b877
if ./setfattr -n user.name -v value .; then
77b877
    make check || exit $?
77b877
else
77b877
    echo '*** xattrs are probably not supported by the file system,' \
77b877
         'the test-suite will NOT run ***'
77b877
fi
77b877
77b877
%install
77b877
%make_install
77b877
77b877
# get rid of libattr.a and libattr.la
77b877
rm -f $RPM_BUILD_ROOT%{_libdir}/libattr.{l,}a
77b877
77b877
# drop already installed documentation, we will use an RPM macro to install it
77b877
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}*
77b877
77b877
# temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
77b877
ln -fs ../sys/xattr.h $RPM_BUILD_ROOT%{_includedir}/attr/xattr.h
77b877
77b877
%find_lang %{name}
77b877
77b877
%ldconfig_scriptlets -n libattr
77b877
77b877
%files -f %{name}.lang
77b877
%doc doc/CHANGES
77b877
%{!?_licensedir:%global license %%doc}
77b877
%license doc/COPYING*
77b877
%{_bindir}/attr
77b877
%{_bindir}/getfattr
77b877
%{_bindir}/setfattr
77b877
%{_mandir}/man1/attr.1*
77b877
%{_mandir}/man1/getfattr.1*
77b877
%{_mandir}/man1/setfattr.1*
77b877
77b877
%files -n libattr-devel
77b877
%{_libdir}/libattr.so
77b877
%{_libdir}/pkgconfig/*.pc
77b877
%{_includedir}/attr
77b877
%{_mandir}/man3/attr_*.3.*
77b877
77b877
%files -n libattr
77b877
%{_libdir}/libattr.so.*
77b877
%config(noreplace) %{_sysconfdir}/xattr.conf
77b877
77b877
%changelog
77b877
* Tue Jul 17 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-3
77b877
- temporarily provide attr/xattr.h symlink until users are migrated (#1601482)
77b877
77b877
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.48-2
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
77b877
77b877
* Tue Jul 03 2018 Kamil Dudka <kdudka@redhat.com> 2.4.48-1
77b877
- new upstream release
77b877
77b877
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-23
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
77b877
77b877
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.47-22
77b877
- Switch to %%ldconfig_scriptlets
77b877
77b877
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-21
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
77b877
77b877
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-20
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
77b877
77b877
* Mon Jul 24 2017 Kamil Dudka <kdudka@redhat.com> 2.4.47-19
77b877
- fix test-suite failure with perl-5.26.0 (#1473853)
77b877
- apply patches automatically to ease maintenance
77b877
- update URL of the upstream source tarball
77b877
77b877
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-18
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
77b877
77b877
* Fri Feb 03 2017 Kamil Dudka <kdudka@redhat.com> 2.4.47-17
77b877
- update project URL (#1418475)
77b877
77b877
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-16
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
77b877
77b877
* Thu Jan 07 2016 Kamil Dudka <kdudka@redhat.com> 2.4.47-15
77b877
- remove outdated tests from test/attr.test
77b877
77b877
* Mon Sep 14 2015 Kamil Dudka <kdudka@redhat.com> 2.4.47-14
77b877
- make libattr-devel not insist on man-pages being installed (#1262605)
77b877
77b877
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.4.47-13
77b877
- Remove bizarre 12 year old libtool invocation workaround that prevented
77b877
  hardened cflags being applied
77b877
77b877
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-12
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
77b877
77b877
* Mon May 11 2015 Kamil Dudka <kdudka@redhat.com> 2.4.47-11
77b877
- do not install the attr.5 man page (#1219987)
77b877
77b877
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.4.47-10
77b877
- Rebuilt for Fedora 23 Change
77b877
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
77b877
77b877
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-9
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
77b877
77b877
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 2.4.47-8
77b877
- mark license files properly
77b877
77b877
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-7
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
77b877
77b877
* Mon Mar 31 2014 Kamil Dudka <kdudka@redhat.com> 2.4.47-6
77b877
- do not install {,f,l}{get,list,remove,set}xattr.2 man pages
77b877
77b877
* Tue Jan 21 2014 Kamil Dudka <kdudka@redhat.com> 2.4.47-5
77b877
- refer to ENODATA instead of ENOATTR in man pages (#1055933)
77b877
77b877
* Tue Nov 19 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-4
77b877
- provide /etc/xattr.conf to exclude copying certain extended attrs (#1031423)
77b877
77b877
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-3
77b877
- drop a docdir-related patch to fix a packaging failure (#991997)
77b877
77b877
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.47-2
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
77b877
77b877
* Mon May 20 2013 Kamil Dudka <kdudka@redhat.com> 2.4.47-1
77b877
- new upstream release, drop applied patches
77b877
- drop workarounds that are no longer necessary
77b877
77b877
* Fri May 03 2013 Kamil Dudka <kdudka@redhat.com> 2.4.46-10
77b877
- use <sys/syscalls.h> to fix build on aarch64 (#957989)
77b877
77b877
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-9
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
77b877
77b877
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> 2.4.46-8
77b877
- fix specfile issues reported by the fedora-review script
77b877
77b877
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-7
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
77b877
77b877
* Wed May 02 2012 Kamil Dudka <kdudka@redhat.com> 2.4.46-6
77b877
- do not mention static libraries in the summary of libattr-devel (#817953)
77b877
77b877
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.4.46-5
77b877
- add filesystem guard
77b877
77b877
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 2.4.46-4
77b877
- install everything in /usr
77b877
  https://fedoraproject.org/wiki/Features/UsrMove
77b877
77b877
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.46-3
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
77b877
77b877
* Fri May 06 2011 Kamil Dudka <kdudka@redhat.com> 2.4.46-2
77b877
- update project URL (#702636)
77b877
77b877
* Thu Apr 21 2011 Kamil Dudka <kdudka@redhat.com> 2.4.46-1
77b877
- new upstream release
77b877
77b877
* Tue Apr 19 2011 Kamil Dudka <kdudka@redhat.com> 2.4.45-1
77b877
- new upstream release
77b877
77b877
* Tue Mar 29 2011 Kamil Dudka <kdudka@redhat.com> 2.2.44-8
77b877
- fix typos in attr(1) man page (#669095)
77b877
77b877
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.44-7
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77b877
77b877
* Wed Dec 22 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-6
77b877
- setfattr.1: document supported encodings of values (#587516)
77b877
- getfattr: encode NULs properly with --encoding=text (#650539)
77b877
- getfattr: return non-zero exit code on failure (#660619)
77b877
- walk_tree: do not follow symlink to directory with -h (#660613)
77b877
77b877
* Tue May 25 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-5
77b877
- let attr depend on the same version of libattr (#595689)
77b877
- silence compile-time warnings
77b877
77b877
* Wed Mar 10 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-4
77b877
- run the test-suite if possible
77b877
77b877
* Tue Jan 19 2010 Kamil Dudka <kdudka@redhat.com> 2.2.44-3
77b877
- do not package a static library (#556038)
77b877
- remove multilib patch no longer useful
77b877
- enable parallel make
77b877
77b877
* Thu Jan 07 2010 Kamil Dudka <kdudka@redhat.com> 2.4.44-2
77b877
- cleanup in BuildRequires
77b877
- updated source URL
77b877
- re-downloaded source tarball from upstream (size changed by one)
77b877
77b877
* Wed Nov 25 2009 Kamil Dudka <kdudka@redhat.com> 2.4.44-1
77b877
- new upstream release
77b877
77b877
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.43-4
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
77b877
77b877
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.43-3
77b877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77b877
77b877
* Wed Feb 18 2009 Zdenek Prikryl <zprikryl@redhat.com> 2.4.43-2
77b877
- Fixed memory leaks (#485473)
77b877
77b877
* Wed Jul 16 2008 Zdenek Prikryl <zprikryl@redhat.com> 2.4.43-1
77b877
- New version 2.4.43
77b877
77b877
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.4.41-2
77b877
- fix license tags
77b877
77b877
* Wed Feb 13 2008 Zdenek Prikryl <zprikryl@redhat.com> 2.4.41-1
77b877
- New version 2.4.41
77b877
- Removed useless attr-2.0.8-docperms.patch
77b877
77b877
* Wed Oct 31 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.39-1
77b877
- New version 2.4.39
77b877
- Resolves #284121
77b877
77b877
* Tue Oct 30 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.38-2
77b877
- Removed explicit Requires(post + postun)
77b877
- Resolves #225290
77b877
77b877
* Tue Jul 31 2007 Zdenek Prikryl <zprikryl@redhat.com> 2.4.38-1
77b877
- New version 2.4.38
77b877
- Resolves #245415
77b877
77b877
* Fri Feb 23 2007 Karsten Hopp <karsten@redhat.com> 2.4.32-2
77b877
- add disttag
77b877
- remove trailing dot from summary
77b877
- fix buildroot
77b877
- -devel package requires same libattr version
77b877
- change prereq to Requires(post)
77b877
- escape macro in changelog
77b877
- replace absolute link with relative link (libattr.so)
77b877
- use %%doc macro
77b877
77b877
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.4.32-1.1
77b877
- rebuild
77b877
77b877
* Wed Jul  5 2006 Thomas Woerner <twoerne@redhat.com> 2.4.32-1
77b877
- new version 2.4.32
77b877
- fixes segmentation fault in attr, which affects #189106
77b877
77b877
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 2.4.28-2
77b877
- rebuild for -devel deps
77b877
77b877
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.28-1.2
77b877
- bump again for double-long bug on ppc(64)
77b877
77b877
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.28-1.1
77b877
- rebuilt for new gcc4.1 snapshot and glibc changes
77b877
77b877
* Fri Feb  3 2006 Thomas Woerner <twoerner@redhat.com> 2.4.28-1
77b877
- new version 2.4.28
77b877
77b877
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
77b877
- rebuilt
77b877
77b877
* Tue Dec  6 2005 Thomas Woerner <twoerner@redhat.com> 2.4.24-2
77b877
- spec file cleanup
77b877
- mark po files as lang specific
77b877
77b877
* Sun Nov 06 2005 Florian La Roche <laroche@redhat.com>
77b877
- 2.4.24
77b877
77b877
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.4.23-1
77b877
- update to 2.4.23
77b877
77b877
* Wed Sep 28 2005 Than Ngo <than@redhat.com> 2.4.16-6
77b877
- get rid of *.la files
77b877
- remove duplicate doc files
77b877
77b877
* Wed Feb  9 2005 Stephen C. Tweedie <sct@redhat.com> 2.4.16-4
77b877
- Rebuild
77b877
77b877
* Fri Sep 10 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.16-3
77b877
- Build requires libtool >= 1.5
77b877
77b877
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.16-2
77b877
- Make libattr.so.* executable.
77b877
77b877
* Thu Aug 19 2004 Phil Knirsch <pknirsch@redhat.com> 2.4.16-1
77b877
- Update to latest upstream version.
77b877
77b877
* Sun Aug  8 2004 Alan Cox <alan@redhat.com> 2.4.1-6
77b877
- Fix bug #125304 (Steve Grubb: build requires gettext)
77b877
77b877
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
77b877
- rebuilt
77b877
77b877
* Wed Mar 31 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.1-4
77b877
- Add missing %%defattr
77b877
77b877
* Tue Mar 30 2004 Stephen C. Tweedie <sct@redhat.com> 2.4.1-3
77b877
- Add /usr/include/attr to files manifest
77b877
- Fix location of doc files, add main doc dir to files manifest
77b877
77b877
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
77b877
- rebuilt
77b877
77b877
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
77b877
- rebuilt
77b877
77b877
* Tue Aug  5 2003 Elliot Lee <sopwith@redhat.com> 2.4.1-2
77b877
- Fix libtool
77b877
77b877
* Tue Jun  3 2003 Stephen C. Tweedie <sct@redhat.com> 2.4.1-1
77b877
- update to attr-2.4.1
77b877
77b877
* Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 2.2.0-1
77b877
- update/rebuild
77b877
77b877
* Sat Jan  4 2003 Jeff Johnson <jbj@redhat.com> 2.0.8-6
77b877
- set execute bits on library so that requires are generated.
77b877
77b877
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 2.0.8-5
77b877
- Redo multilib patch to work everywhere
77b877
77b877
* Wed Sep 11 2002 Than Ngo <than@redhat.com> 2.0.8-4
77b877
- Added fix to install libs in correct directory on 64bit machine 
77b877
77b877
* Thu Aug 08 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-3
77b877
- Made the package only own the one directory that is unique to it:
77b877
  /usr/include/attr
77b877
77b877
* Wed Jun 26 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-2
77b877
- get perl out of base with attr-2.0.8-docperms.patch
77b877
77b877
* Mon Jun 24 2002 Michael K. Johnson <johnsonm@redhat.com> 2.0.8-1
77b877
- Initial Red Hat package
77b877
  Made as few changes as possible relative to upstream packaging to
77b877
  make it easier to maintain long-term.  This means that some of
77b877
  the techniques used here are definitely not standard Red Hat
77b877
  techniques.  If you are looking for an example package to fit
77b877
  into Red Hat Linux transparently, this would not be the one to
77b877
  pick.
77b877
- attr-devel -> libattr-devel