Split up into sysfsutils, libsysfs, and libsysfs-devel for multilib
reasons.
This commit is contained in:
parent
f713963b8a
commit
f6a8f825bd
@ -1,10 +1,10 @@
|
||||
Summary: sysfsutils, library interface to sysfs.
|
||||
Name: sysfsutils
|
||||
Version: 2.0.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
||||
Patch0: %{name}-%{version}-redhatify.patch
|
||||
License: GPL/LGPL
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
Buildroot: %{_tmppath}/%{name}-root
|
||||
|
||||
@ -12,16 +12,21 @@ Buildroot: %{_tmppath}/%{name}-root
|
||||
This package's purpose is to provide a set of utilities for interfacing
|
||||
with sysfs.
|
||||
|
||||
The library is distributed under LGPL and utilities that come with it are
|
||||
under GPL.
|
||||
%package -n libsysfs
|
||||
Summary: Shared library for interfacing with sysfs
|
||||
Group: System Environment/Libraries
|
||||
License: LGPL
|
||||
|
||||
%package devel
|
||||
Summary: Static library and headers for sysfsutils
|
||||
%description -n libsysfs
|
||||
Library used in handling linux kernel sysfs mounts and their various files.
|
||||
|
||||
%package -n libsysfs-devel
|
||||
Summary: Static library and headers for libsysfs
|
||||
Group: Development/Libraries
|
||||
Requires: sysfsutils = %{version}
|
||||
Requires: libsysfs = %{version}
|
||||
|
||||
%description devel
|
||||
sysfsutils-devel provides the header files and static libraries required
|
||||
%description -n libsysfs-devel
|
||||
libsysfs-devel provides the header files and static libraries required
|
||||
to build programs using the libsysfs API.
|
||||
|
||||
%prep
|
||||
@ -51,12 +56,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/systool
|
||||
%{_bindir}/get_module
|
||||
%{_mandir}/man1/systool.1.gz
|
||||
%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL
|
||||
|
||||
%files -n libsysfs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsysfs.so.2
|
||||
%{_libdir}/libsysfs.so.2.0.0
|
||||
%{_mandir}/man1/systool.1.gz
|
||||
%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL lib/LGPL
|
||||
%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt lib/LGPL
|
||||
|
||||
%files devel
|
||||
%files -n libsysfs-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/sysfs
|
||||
%{_includedir}/sysfs/libsysfs.h
|
||||
@ -66,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 7 2006 Doug Ledford <dledford@redhat.com> - 2.0.0-3
|
||||
- Split the library and devel files out to libsysfs and leave the utils
|
||||
in sysfsutils. This is for multilib arch requirements.
|
||||
|
||||
* Thu May 25 2006 Neil Horman <nhorman@redhat.com> - 2.0.0-2
|
||||
- Fixed devel rpm to own sysfs include dir
|
||||
- Fixed a typo in changelog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user