source: projects/specs/branches/6/s/sysfsutils/sysfsutils-vl.spec @ 3528

Revision 3528, 2.0 KB checked in by owa, 13 years ago (diff)

rebuilt

Line 
1Summary: sysfsutils, library interface to sysfs.
2Summary(ja): sysfs インタフェースライブラリおよびユーティリティ
3Name: sysfsutils
4Version: 2.1.0
5Release: 3%{?_dist_release}
6License: GPL/LGPL
7Group: Development/Tools
8
9Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
10
11Buildroot: %{_tmppath}/%{name}-%{version}-root
12
13%description
14This package's purpose is to provide a set of utilities for interfacing
15with sysfs.
16
17The library is distributed under LGPL and utilities that come with it are
18under GPL.
19
20%package devel
21Summary: Static library and headers for sysfsutils
22Summary(ja): sysfsutils のスタティックライブラリおよびヘッダファイル
23Group: Development/Libraries
24Requires: sysfsutils = %{version}
25
26%description devel
27sysfsutils-devel provides the header files and static libraries required
28to build programs using the libsysfs API.
29
30%prep
31%setup -q
32
33%build
34%configure --disable-static
35%__make %{?_smp_mflags}
36
37%install
38rm -fr %{buildroot}
39
40%__make DESTDIR=$RPM_BUILD_ROOT install
41
42# remove unpackaged files
43rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
44find $RPM_BUILD_ROOT%{_bindir} -type f -not -name "systool" -exec rm -f \{\} \;
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49
50%post -p /sbin/ldconfig
51
52%postun -p /sbin/ldconfig
53
54%files
55%defattr(-,root,root)
56%doc COPYING AUTHORS README NEWS CREDITS ChangeLog docs/libsysfs.txt cmd/GPL lib/LGPL
57%{_bindir}/systool
58%{_libdir}/libsysfs.so.*
59%{_mandir}/man1/systool.1*
60
61%files devel
62%defattr(-,root,root)
63%{_includedir}/sysfs/libsysfs.h
64%{_includedir}/sysfs/dlist.h
65%{_libdir}/libsysfs.so
66#{_libdir}/libsysfs.a
67
68
69%changelog
70* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.1.0-3
71- rebuilt with rpm-4.8.1-3
72
73* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.0-2
74- spec in utf-8
75- remove static library
76
77* Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.0-1
78- applied new versioning policy
79
80* Tue Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.0-0vl1
81- new upstream release
82
83* Fri Mar 17 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-0vl1
84- initial build
85
Note: See TracBrowser for help on using the repository browser.