]> git.pld-linux.org Git - packages/sysfsutils.git/blob - sysfsutils.spec
- updated to 1.3.0 (bugfixes)
[packages/sysfsutils.git] / sysfsutils.spec
1 Summary:        System utilities package
2 Summary(pl):    Pakiet narzêdzi systemowych
3 Name:           sysfsutils
4 Version:        1.3.0
5 Release:        1
6 License:        LGPL v2.1/GPL v2
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
9 # Source0-md5:  d11c99271531be3c1e6d36b53968cd2b
10 URL:            http://linux-diag.sourceforge.net/Sysfsutils.html
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This package's purpose is to provide a set of utilities for
18 interfacing with sysfs, a virtual filesystem in Linux kernel versions
19 2.5+ that provides a tree of system devices. While a filesystem is a
20 very useful interface, the authors decided to provide a stable
21 programming interface that will hopefully make it easier for
22 applications to query system devices and their attributes.
23
24 This package currently includes:
25 - libsysfs: a library for accessing system devices.
26 - lsbus: a small application to query system bus information.
27 - systool: an application to view system device information by bus,
28   class, and topology.
29
30 %description -l pl
31 Celem tego pakietu jest dostarczenie zestawu narzêdzi do wspó³pracy z
32 sysfs - wirtualnym systemem plików j±der Linuksa w wersji 2.5+
33 udostêpniaj±cym drzewo urz±dzeñ systemowych. O ile system plików jest
34 bardzo u¿ytecznym interfejsem, autorzy zdecydowali siê dostarczyæ
35 stabilny interfejs programistyczny, u³atwiaj±cy aplikacjom odpytywanie
36 siê o urz±dzenia systemowe i ich atrybuty.
37
38 Ten pakiet zawiera:
39 - libsysfs - bibliotekê do dostêpu do urz±dzeñ systemowych,
40 - lsbus - ma³± aplikacjê do odczytywania informacji o szynach
41   systemowych,
42 - systool - aplikacjê do przegl±dania informacji o urz±dzeniach
43   systemowych wed³ug szyny, klasy i topologii.
44
45 %package devel
46 Summary:        Header files for sysfs library
47 Summary(pl):    Pliki nag³ówkowe biblioteki sysfs
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50
51 %description devel
52 Header files for sysfs library.
53
54 %description devel -l pl
55 Pliki nag³ówkowe biblioteki sysfs.
56
57 %package static
58 Summary:        Static sysfs library
59 Summary(pl):    Statyczna biblioteka sysfs
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static sysfs library.
65
66 %description static -l pl
67 Statyczna biblioteka sysfs.
68
69 %prep
70 %setup -q
71
72 %build
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 # COPYING contains only note, not actual GPL/LGPL texts
96 %doc AUTHORS COPYING ChangeLog NEWS README TODO
97 %attr(755,root,root) %{_bindir}/*
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
99 %{_mandir}/man1/*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc docs/libsysfs.txt
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %{_includedir}/*.h
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
This page took 0.069618 seconds and 3 git commands to generate.