commit 9db8dc25307576fdd2364f80628cf038a24c0ac77068c10879bb13d9999a2b5d Author: OBS User unknown Date: Mon Jan 15 23:38:31 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sysfsutils?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/sysfsutils-2.1.0.tar.gz b/sysfsutils-2.1.0.tar.gz new file mode 100644 index 0000000..c0bba65 --- /dev/null +++ b/sysfsutils-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65c7258f3c006f07078506c227acb94c2c4e451eab7cce7095e9e2cf283fd1de +size 1071810 diff --git a/sysfsutils.changes b/sysfsutils.changes new file mode 100644 index 0000000..f28431e --- /dev/null +++ b/sysfsutils.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Mon Aug 31 12:00:00 CEST 2006 - kay.sievers@suse.de + +- update to version 2.1.0 +- provide only the shared lib, not the static lib, not the tools + +------------------------------------------------------------------- +Thu Mar 9 12:51:37 CET 2006 - hare@suse.de + +- Do not install testlibsysfs (#149981 - LTC21580) + +------------------------------------------------------------------- +Wed Jan 25 21:41:59 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jan 12 17:08:20 CET 2006 - hmacht@suse.de + +- also substitude libtool path in *.la file when moving libraries + (bug #141161) + +------------------------------------------------------------------- +Fri Jun 24 11:52:55 CEST 2005 - snwint@suse.de + +- move shared libs to /lib + +------------------------------------------------------------------- +Fri Jun 10 15:38:40 CEST 2005 - hare@suse.de + +- initial release 1.3.0; split off from udev rpm. diff --git a/sysfsutils.spec b/sysfsutils.spec new file mode 100644 index 0000000..726781e --- /dev/null +++ b/sysfsutils.spec @@ -0,0 +1,88 @@ +# +# spec file for package sysfsutils (Version 2.1.0) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: sysfsutils +Summary: System Utilities Package / Libsysfs +Version: 2.1.0 +Release: 2 +License: LGPL +Group: System/Libraries +URL: http://linux-diag.sourceforge.net +Source: http://aleron.dl.sourceforge.net/sourceforge/linux-diag/%{name}-%{version}.tar.gz +Provides: libsysfs +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 +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. + + + +Authors: +-------- + Ananth Mavinakayanahalli + Daniel Stekloff + Mohan Kumar + +%prep +%setup + +%build +CFLAGS="-fPIC $RPM_OPT_FLAGS" \ +./configure \ + --prefix=%{_prefix} \ + --libdir=/%{_lib} \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} +make + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +# create devel symlink in /usr +mkdir -p %{buildroot}%{_libdir} +ln -s /%{_lib}/libsysfs.so %{buildroot}%{_libdir}/libsysfs.so +# don't install the tools +rm -rf %{buildroot}/%{_bindir} +rm -rf %{buildroot}/%{_mandir} +# don't install static lib +rm -f %{buildroot}/%{_lib}/libsysfs.*a + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%dir %{_includedir}/sysfs +%{_includedir}/sysfs/libsysfs.h +%{_includedir}/sysfs/dlist.h +%{_libdir}/libsysfs.so +/%{_lib}/libsysfs.so* +%doc README ChangeLog + +%changelog -n sysfsutils +* Thu Aug 31 2006 - kay.sievers@suse.de +- update to version 2.1.0 +- provide only the shared lib, not the static lib, not the tools +* Thu Mar 09 2006 - hare@suse.de +- Do not install testlibsysfs (#149981 - LTC21580) +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Thu Jan 12 2006 - hmacht@suse.de +- also substitude libtool path in *.la file when moving libraries + (bug #141161) +* Fri Jun 24 2005 - snwint@suse.de +- move shared libs to /lib +* Fri Jun 10 2005 - hare@suse.de +- initial release 1.3.0; split off from udev rpm.