From 97ae5b3e841d27ea40b735973ef2db09fb1afce685089296d824dda23dd0aa46 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 8 Sep 2010 14:00:06 +0000 Subject: [PATCH] Accepting request 47481 from home:a_jaeger:branches:openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/47481 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysfsutils?expand=0&rev=7 --- sysfsutils.changes | 5 +++++ sysfsutils.spec | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/sysfsutils.changes b/sysfsutils.changes index ccb64d7..5dff837 100644 --- a/sysfsutils.changes +++ b/sysfsutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 7 20:16:50 UTC 2010 - aj@suse.de + +- Create devel package. + ------------------------------------------------------------------- Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de diff --git a/sysfsutils.spec b/sysfsutils.spec index 52d7670..7405067 100644 --- a/sysfsutils.spec +++ b/sysfsutils.spec @@ -37,7 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package's purpose is to provide a library for interfacing with the -kernel's sys filesystem mounted at /sys. The libray was an attempt to +kernel's sys filesystem mounted at /sys. The library was an attempt to create a stable interface to sysfs, but it failed. It is still provided for the current users, but no new software should use this library. @@ -49,6 +49,20 @@ Authors: Daniel Stekloff Mohan Kumar +%package devel +Summary: Development files for libsysfs +License: LGPLv2.1+ +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +Libsysfs' purpose is to provide a library for interfacing with the +kernel's sys filesystem mounted at /sys. The library was an attempt to +create a stable interface to sysfs, but it failed. It is still provided +for the current users, but no new software should use this library. + +This package contains the development files for libsysfs. + %prep %setup -q @@ -83,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/systool.1.gz /%{_lib}/libsysfs.so.* %doc README ChangeLog + +%files devel +%defattr(-,root,root) %dir %{_includedir}/sysfs %{_includedir}/sysfs/libsysfs.h %{_includedir}/sysfs/dlist.h