|
|
038f72 |
Name: sysfsutils
|
|
|
038f72 |
URL: http://sourceforge.net/projects/linux-diag/
|
|
|
038f72 |
License: GPLv2
|
|
|
038f72 |
Group: Development/Tools
|
|
|
038f72 |
Version: 2.1.0
|
|
|
731606 |
Release: 25%{?dist}
|
|
|
038f72 |
|
|
|
038f72 |
Summary: Utilities for interfacing with sysfs
|
|
|
038f72 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
038f72 |
Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
|
|
038f72 |
Patch0: sysfsutils-2.0.0-redhatify.patch
|
|
|
038f72 |
Patch1: sysfsutils-2.0.0-class-dup.patch
|
|
|
038f72 |
Patch2: sysfsutils-2.1.0-get_link.patch
|
|
|
038f72 |
Patch3: sysfsutils-2.1.0-manpages.patch
|
|
|
038f72 |
Patch4: sysfsutils-aarch64.patch
|
|
|
038f72 |
|
|
|
038f72 |
%description
|
|
|
038f72 |
This package's purpose is to provide a set of utilities for interfacing
|
|
|
038f72 |
with sysfs.
|
|
|
038f72 |
|
|
|
038f72 |
%package -n libsysfs
|
|
|
038f72 |
Summary: Shared library for interfacing with sysfs
|
|
|
038f72 |
Group: System Environment/Libraries
|
|
|
038f72 |
License: LGPLv2+
|
|
|
038f72 |
|
|
|
038f72 |
%description -n libsysfs
|
|
|
038f72 |
Library used in handling linux kernel sysfs mounts and their various files.
|
|
|
038f72 |
|
|
|
038f72 |
%package -n libsysfs-devel
|
|
|
038f72 |
Summary: Static library and headers for libsysfs
|
|
|
038f72 |
Group: Development/Libraries
|
|
|
038f72 |
License: LGPLv2+
|
|
|
038f72 |
Requires: libsysfs = %{version}-%{release}
|
|
|
038f72 |
|
|
|
038f72 |
%description -n libsysfs-devel
|
|
|
038f72 |
libsysfs-devel provides the header files and static libraries required
|
|
|
038f72 |
to build programs using the libsysfs API.
|
|
|
038f72 |
|
|
|
038f72 |
%prep
|
|
|
038f72 |
%setup -q
|
|
|
038f72 |
%patch0 -p1 -b .redhatify
|
|
|
038f72 |
%patch1 -p1
|
|
|
038f72 |
%patch2 -p1
|
|
|
038f72 |
%patch3 -p1
|
|
|
038f72 |
%patch4 -p1
|
|
|
038f72 |
|
|
|
038f72 |
%build
|
|
|
038f72 |
%configure --disable-static --prefix=/usr
|
|
|
038f72 |
make %{?_smp_mflags}
|
|
|
038f72 |
|
|
|
038f72 |
%install
|
|
|
038f72 |
rm -rf $RPM_BUILD_ROOT
|
|
|
038f72 |
|
|
|
038f72 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
038f72 |
|
|
|
038f72 |
rm -f $RPM_BUILD_ROOT%{_bindir}/dlist_test $RPM_BUILD_ROOT%{_bindir}/get_bus_devices_list $RPM_BUILD_ROOT%{_bindir}/get_class_dev $RPM_BUILD_ROOT%{_bindir}/get_classdev_parent $RPM_BUILD_ROOT%{_bindir}/get_device $RPM_BUILD_ROOT%{_bindir}/get_driver $RPM_BUILD_ROOT%{_bindir}/testlibsysfs $RPM_BUILD_ROOT%{_bindir}/write_attr
|
|
|
038f72 |
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
038f72 |
|
|
|
038f72 |
%post -n libsysfs -p /sbin/ldconfig
|
|
|
038f72 |
|
|
|
038f72 |
%postun -n libsysfs -p /sbin/ldconfig
|
|
|
038f72 |
|
|
|
038f72 |
%clean
|
|
|
038f72 |
rm -rf $RPM_BUILD_ROOT
|
|
|
038f72 |
|
|
|
038f72 |
%files
|
|
|
038f72 |
%defattr(-,root,root)
|
|
|
038f72 |
%{_bindir}/systool
|
|
|
038f72 |
%{_bindir}/get_module
|
|
|
038f72 |
%{_mandir}/man1/systool.1.gz
|
|
|
038f72 |
%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL
|
|
|
038f72 |
|
|
|
038f72 |
%files -n libsysfs
|
|
|
038f72 |
%defattr(-,root,root)
|
|
|
038f72 |
/%{_libdir}/libsysfs.so.*
|
|
|
038f72 |
%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt lib/LGPL
|
|
|
038f72 |
|
|
|
038f72 |
%files -n libsysfs-devel
|
|
|
038f72 |
%defattr(-,root,root)
|
|
|
038f72 |
%dir %{_includedir}/sysfs
|
|
|
038f72 |
%{_includedir}/sysfs/libsysfs.h
|
|
|
038f72 |
%{_includedir}/sysfs/dlist.h
|
|
|
038f72 |
/%{_libdir}/libsysfs.so
|
|
|
038f72 |
|
|
|
038f72 |
|
|
|
038f72 |
%changelog
|
|
|
731606 |
* Thu Jan 27 2021 Chris White <chwhite@redhat.com> 2.1.0-24
|
|
|
731606 |
- Rebuilt for 8.6. Resolves: rhbz#2046426
|
|
|
731606 |
|
|
|
038f72 |
* Mon Oct 22 2018 Neil Horman <nhorman@redhat.com> 2.1.0-24
|
|
|
038f72 |
- Fix annocheck build issues (bz 1630632)
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-23
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-22
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-21
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-20
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-19
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-18
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-17
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-16
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-15
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sat May 11 2013 Anton Arapov <anton@redhat.com> - 2.1.0-14
|
|
|
038f72 |
- We don't support aarch64, do the appropriate changes (#926600)
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-13
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-12
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-11
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Tue Mar 22 2011 Anton Arapov <anton@redhat.com> - 2.1.0-10
|
|
|
038f72 |
- Better manpages. (#673849)
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-9
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Jun 17 2010 Anton Arapov <anton@redhat.com> - 2.1.0-8
|
|
|
038f72 |
- Move libraries from /usr/lib to /lib since we need them
|
|
|
038f72 |
during the system boot. (#605546)
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Jan 18 2010 Anton Arapov <anton@redhat.com> - 2.1.0-7
|
|
|
038f72 |
- Don't build and ship statically linked library (#556096)
|
|
|
038f72 |
|
|
|
038f72 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-6
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-5
|
|
|
038f72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Tue May 20 2008 Jarod Wilson <jwilson@redhat.com> - 2.1.0-4
|
|
|
038f72 |
- Fix up get_link on kernel 2.6.25+ (#447220)
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Feb 25 2008 Jarod Wilson <jwilson@redhat.com> - 2.1.0-3
|
|
|
038f72 |
- Review cleanups from Todd Zullinger (#226447)
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 2.1.0-2
|
|
|
038f72 |
- Bump and rebuild with gcc 4.3
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Sep 29 2007 Jarod Wilson <jwilson@redhat.com> - 2.1.0-1
|
|
|
038f72 |
- Update to upstream release 2.1.0
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Sep 11 2006 Neil Horman <nhorman@redhat.com> - 2.0.0-6
|
|
|
038f72 |
- Integrate patch for bz 205808
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com> - 2.0.0-5
|
|
|
038f72 |
- rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Jul 10 2006 Neil Horman <nhorman@redhat.com> - 2.0.0-4
|
|
|
038f72 |
- Obsoleting old sysfsutil-devel package for upgrade path (bz 198054)
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Jul 7 2006 Doug Ledford <dledford@redhat.com> - 2.0.0-3
|
|
|
038f72 |
- Split the library and devel files out to libsysfs and leave the utils
|
|
|
038f72 |
in sysfsutils. This is for multilib arch requirements.
|
|
|
038f72 |
|
|
|
038f72 |
* Thu May 25 2006 Neil Horman <nhorman@redhat.com> - 2.0.0-2
|
|
|
038f72 |
- Fixed devel rpm to own sysfs include dir
|
|
|
038f72 |
- Fixed a typo in changelog
|
|
|
038f72 |
|
|
|
038f72 |
* Wed May 24 2006 Neil Horman <nhorman@redhat.com> - 2.0.0-1
|
|
|
038f72 |
- Rebase to sysfsutils-2.0.0 for RHEL5
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Apr 27 2006 Jeremy Katz <katzj@redhat.com> - 1.3.0-2
|
|
|
038f72 |
- move .so to devel subpackage
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.3.0-1.2.1
|
|
|
038f72 |
- bump again for double-long bug on ppc(64)
|
|
|
038f72 |
|
|
|
038f72 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.3.0-1.2
|
|
|
038f72 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
038f72 |
- rebuilt
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Jul 08 2005 Bill Nottingham <notting@redhat.com> 1.3.0-1
|
|
|
038f72 |
- update to 1.3.0
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Mar 02 2005 AJ Lewis <alewis@redhat.com> 1.2.0-4
|
|
|
038f72 |
- Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-3
|
|
|
038f72 |
- start using %%configure instead of calling configure directly
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-2
|
|
|
038f72 |
- rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Mon Oct 11 2004 AJ Lewis <alewis@redhat.com> 1.2.0-1
|
|
|
038f72 |
- Update to upstream version 1.2.0
|
|
|
038f72 |
|
|
|
038f72 |
* Wed Sep 22 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
038f72 |
- added /sbin/ldconfig calls to post/postun
|
|
|
038f72 |
|
|
|
038f72 |
* Thu Sep 01 2004 AJ Lewis <alewis@redhat.com> 1.1.0-2
|
|
|
038f72 |
- Fix permissions on -devel files
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Aug 13 2004 AJ Lewis <alewis@redhat.com> 1.1.0-1.1
|
|
|
038f72 |
- Rebuild
|
|
|
038f72 |
|
|
|
038f72 |
* Fri Aug 13 2004 AJ Lewis <alewis@redhat.com> 1.1.0-1
|
|
|
038f72 |
- Initial package for FC3
|