SPECS: hwinfo.spec - pl - added -devel
qboosh
qboosh at pld-linux.org
Wed May 23 21:54:36 CEST 2007
Author: qboosh Date: Wed May 23 19:54:36 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl
- added -devel
---- Files affected:
SPECS:
hwinfo.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/hwinfo.spec
diff -u SPECS/hwinfo.spec:1.4 SPECS/hwinfo.spec:1.5
--- SPECS/hwinfo.spec:1.4 Wed May 23 21:37:50 2007
+++ SPECS/hwinfo.spec Wed May 23 21:54:31 2007
@@ -1,12 +1,12 @@
# $Revision$, $Date$
#
# TODO:
-# - polish description
# - -devel/static etc?
# - can't build:
#In file included from hal.c:19:
#/usr/include/hal/libhal.h:29:23: dbus/dbus.h: No such file or directory
-Summary: hwinfo is the hardware detection tool used in SuSE Linux
+Summary: hwinfo - the hardware detection tool used in SuSE Linux
+Summary(pl.UTF-8): hwinfo - narzędzie do wykrywania sprzętu używane w SuSE Linuksie
Name: hwinfo
Version: 13.11
Release: 0.1
@@ -19,11 +19,27 @@
URL: http://packages.qa.debian.org/h/hwinfo.html
BuildRequires: hal-devel
BuildRequires: linux-libc-headers >= 7:2.6.20
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
hwinfo is the hardware detection tool used in SuSE Linux.
+%description -l pl.UTF-8
+hwinfo to narzędzie do wykrywania sprzętu używane w SuSE Linuksie.
+
+%package devel
+Summary: Header files for hwinfo library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki hwinfo
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for hwinfo library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki hwinfo.
+
%prep
%setup -q
%patch0 -p0
@@ -43,11 +59,17 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
%attr(755,root,root) %{_libdir}/libhd.so*
%{_datadir}/%{name}
-%attr(755,root,root) %{_sbindir}/*
+
+%files devel
+%defattr(644,root,root,755)
%{_includedir}/*
%{_pkgconfigdir}/hwinfo.pc
@@ -57,6 +79,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/05/23 19:54:31 qboosh
+- pl
+- added -devel
+
Revision 1.4 2007/05/23 19:37:50 arvenil
- fix for searching dbus headers (not sure if this is "the right way" but works)
- removed BR: dbus-devel (hal-devel already requires it)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/hwinfo.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list