packages: udev/udev.spec - revised deps - remaining pl - consistent package...

qboosh qboosh at pld-linux.org
Tue May 25 22:46:53 CEST 2010


Author: qboosh                       Date: Tue May 25 20:46:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- revised deps
- remaining pl
- consistent packages order
- ldconfig for -glib

---- Files affected:
packages/udev:
   udev.spec (1.328 -> 1.329) 

---- Diffs:

================================================================
Index: packages/udev/udev.spec
diff -u packages/udev/udev.spec:1.328 packages/udev/udev.spec:1.329
--- packages/udev/udev.spec:1.328	Tue May 25 15:44:12 2010
+++ packages/udev/udev.spec	Tue May 25 22:46:48 2010
@@ -34,7 +34,7 @@
 Version:	155
 Release:	1
 Epoch:		1
-License:	GPL
+License:	GPL v2+
 Group:		Base
 Source0:	ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.bz2
 # Source0-md5:	2c45951e4b6ad460475cd63804d89f54
@@ -57,29 +57,30 @@
 URL:		http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
 %{?with_ConsoleKit:BuildRequires:	ConsoleKit-devel >= 0.4.1}
 BuildRequires:	acl-devel
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake >= 1:1.10
 BuildRequires:	device-mapper-devel
 %{?debug:BuildRequires:	gir-repository-devel}
-BuildRequires:	glib2-devel
+BuildRequires:	glib2-devel >= 1:2.7.0
 BuildRequires:	glibc-misc
-BuildRequires:	gobject-introspection-devel
+BuildRequires:	gobject-introspection-devel >= 0.6.2
 BuildRequires:	gperf
-BuildRequires:	gtk-doc
+BuildRequires:	gtk-doc >= 1.10
 %{?with_selinux:BuildRequires:	libselinux-devel >= 1.17.13}
 BuildRequires:	libtool
-BuildRequires:	libusb-compat-devel
+BuildRequires:	libusb-compat-devel >= 0.1
 BuildRequires:	libxslt-progs
 BuildRequires:	pciutils
 BuildRequires:	pkgconfig
 BuildRequires:	python-modules
+BuildRequires:	rpmbuild(macros) >= 1.446
 BuildRequires:	sed >= 4.0
 BuildRequires:	usbutils >= 0.82
 %if %{with initrd}
 BuildRequires:	acl-static
 BuildRequires:	attr-static
 %{?with_dietlibc:BuildRequires:	dietlibc-static}
-BuildRequires:	glib2-static
+BuildRequires:	glib2-static >= 1:2.7.0
 %{?with_glibc:BuildRequires:	glibc-static}
 %{?with_klibc:BuildRequires:	klibc-static}
 %{?with_glibc:BuildRequires:	libselinux-static}
@@ -118,19 +119,27 @@
 
 %package acl
 Summary:	Control device ACL via ConsoleKit
+Summary(pl.UTF-8):	Zarządzanie uprawnieniami do urządzeń poprzez ConsoleKit
 Group:		Base
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 
 %description acl
 ConsoleKit hook to control permissions of system devices.
 
+%description acl -l pl.UTF-8
+Uchwyty ConsoleKit do zarządzania uprawnieniami urządzeń systemowych.
+
 %package compat
-Summary:	Compatibility rules for kernels < 2.6.31
+Summary:	Compatibility rules for Linux kernels < 2.6.31
+Summary(pl.UTF-8):	Reguły dla kompatybilości z jądrami Linuksa < 2.6.31
 Group:		Base
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
 
 %description compat
-Compatibility rules for kernels < 2.6.31.
+Compatibility rules for Linux kernels < 2.6.31.
+
+%description compat -l pl.UTF-8
+Reguły dla kompatybilości z jądrami Linuksa < 2.6.31.
 
 %package core
 Summary:	A userspace implementation of devfs - core part of udev
@@ -149,53 +158,23 @@
 %description core -l pl.UTF-8
 Implementacja devfs w przestrzeni użytkownika - główna część udev.
 
-%package initrd
-Summary:	A userspace implementation of devfs - static binary for initrd
-Summary(pl.UTF-8):	Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd
-Group:		Base
-Requires:	%{name}-core = %{epoch}:%{version}-%{release}
-Conflicts:	geninitrd < 10000.10
-
-%description initrd
-A userspace implementation of devfs - static binary for initrd.
-
-%description initrd -l pl.UTF-8
-Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla
-initrd.
-
-%package initramfs
-Summary:	A userspace implementation of devfs - support scripts for initramfs-tools
-Summary(pl.UTF-8):	Implementacja devfs w przestrzeni użytkownika - skrypty dla initramfs-tools
-Group:		Base
-Requires:	%{name}-core = %{epoch}:%{version}-%{release}
-Requires:	initramfs-tools
-
-%description initramfs
-A userspace implementation of devfs - support scripts for
-initramfs-tools.
-
-%description initramfs -l pl.UTF-8
-Implementacja devfs w przestrzeni użytkownika - skrypty dla
-initramfs-tools.
-
 %package libs
-Summary:	Shared libudev library
-Summary(pl.UTF-8):	Biblioteka współdzielona libudev
+Summary:	Shared library to access udev device information
+Summary(pl.UTF-8):	Biblioteka współdzielona do dostępu do informacji o urządzeniach udev
 Group:		Libraries
-Requires:	libselinux >= 1.17.13
 
 %description libs
-Shared libudev library.
+Shared libudev library to access udev device information.
 
 %description libs -l pl.UTF-8
-Biblioteka współdzielona libudev.
+Biblioteka współdzielona libudev służąca do dostępu do informacji o
+urządzeniach udev.
 
 %package devel
 Summary:	Header file for libudev library
 Summary(pl.UTF-8):	Plik nagłówkowy biblioteki libudev
 Group:		Development/Libraries
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
-Requires:	libselinux-devel >= 1.17.13
 
 %description devel
 Header file for libudev library.
@@ -217,23 +196,28 @@
 
 %package apidocs
 Summary:	libudev API documentation
+Summary(pl.UTF-8):	Dokumentacja API libudev
 Group:		Documentation
 Requires:	gtk-doc-common
 
 %description apidocs
 libudev API documentation.
 
+%description apidocs -l pl.UTF-8
+Dokumentacja API libudev.
+
 %package glib
-Summary:	Shared libgudev library
-Summary(pl.UTF-8):	Biblioteka współdzielona libgudev
+Summary:	Shared libgudev library - GObject bindings for libudev
+Summary(pl.UTF-8):	Biblioteka współdzielona libgudev - wiązania GObject do libudev
 Group:		Libraries
 Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	glib2 >= 1:2.7.0
 
 %description glib
-Shared libgudev library.
+Shared libgudev library - GObject bindings for libudev.
 
 %description glib -l pl.UTF-8
-Biblioteka współdzielona libgudev.
+Biblioteka współdzielona libgudev - wiązania GObject do libudev.
 
 %package glib-devel
 Summary:	Header file for libgudev library
@@ -241,6 +225,7 @@
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
 Requires:	%{name}-glib = %{epoch}:%{version}-%{release}
+Requires:	glib2-devel >= 1:2.7.0
 
 %description glib-devel
 Header file for libgudev library.
@@ -262,12 +247,45 @@
 
 %package glib-apidocs
 Summary:	libgudev API documentation
+Summary(pl.UTF-8):	Dokumentacja API libgudev
 Group:		Documentation
 Requires:	gtk-doc-common
 
 %description glib-apidocs
 libgudev API documentation.
 
+%description glib-apidocs -l pl.UTF-8
+Dokumentacja API libgudev.
+
+%package initrd
+Summary:	A userspace implementation of devfs - static binary for initrd
+Summary(pl.UTF-8):	Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd
+Group:		Base
+Requires:	%{name}-core = %{epoch}:%{version}-%{release}
+Conflicts:	geninitrd < 10000.10
+
+%description initrd
+A userspace implementation of devfs - static binary for initrd.
+
+%description initrd -l pl.UTF-8
+Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla
+initrd.
+
+%package initramfs
+Summary:	A userspace implementation of devfs - support scripts for initramfs-tools
+Summary(pl.UTF-8):	Implementacja devfs w przestrzeni użytkownika - skrypty dla initramfs-tools
+Group:		Base
+Requires:	%{name}-core = %{epoch}:%{version}-%{release}
+Requires:	initramfs-tools
+
+%description initramfs
+A userspace implementation of devfs - support scripts for
+initramfs-tools.
+
+%description initramfs -l pl.UTF-8
+Implementacja devfs w przestrzeni użytkownika - skrypty dla
+initramfs-tools.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -291,14 +309,15 @@
 	%{?debug:--enable-debug} \
 	--libexecdir=/lib/udev \
 	--with-rootlibdir=/%{_lib} \
+	--disable-extras \
 	--disable-gtk-doc \
+	--disable-introspection \
 	--disable-logging \
 	--disable-shared \
+	--disable-silent-rules \
 	--enable-static \
 	--with-pci-ids-path=%{_sysconfdir} \
-	--without-selinux \
-	--disable-introspection \
-	--disable-extras
+	--without-selinux
 
 %{__make} \
 	LDFLAGS="-all-static"
@@ -315,6 +334,7 @@
 	--libexecdir=/lib/udev \
 	--with-html-dir=%{_gtkdocdir} \
 	--with-rootlibdir=/%{_lib} \
+	--disable-silent-rules \
 	--enable-extras \
 	--enable-gtk-doc \
 	--enable-introspection \
@@ -396,6 +416,9 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
+%post	glib -p /sbin/ldconfig
+%postun	glib -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %dev(c,1,3) %attr(666,root,root) /dev/null
@@ -509,11 +532,11 @@
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libudev.la
 %attr(755,root,root) %{_libdir}/libudev.so
+%{_libdir}/libudev.la
 %{_includedir}/libudev.h
 %{_pkgconfigdir}/libudev.pc
-%{_datadir}/pkgconfig/udev.pc
+%{_npkgconfigdir}/udev.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -527,15 +550,15 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgudev-1.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgudev-1.0.so.0
-%{_libdir}/girepository-1.0/*.typelib
+%{_libdir}/girepository-1.0/GUdev-1.0.typelib
 
 %files glib-devel
 %defattr(644,root,root,755)
-%{_libdir}/libgudev-1.0.la
 %attr(755,root,root) %{_libdir}/libgudev-1.0.so
+%{_libdir}/libgudev-1.0.la
 %{_includedir}/gudev-1.0
 %{_pkgconfigdir}/gudev-1.0.pc
-%{_datadir}/gir-1.0/*.gir
+%{_datadir}/gir-1.0/GUdev-1.0.gir
 
 %files glib-static
 %defattr(644,root,root,755)
@@ -571,6 +594,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.329  2010/05/25 20:46:48  qboosh
+- revised deps
+- remaining pl
+- consistent packages order
+- ldconfig for -glib
+
 Revision 1.328  2010/05/25 13:44:12  arekm
 - up to 155
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/udev.spec?r1=1.328&r2=1.329&f=u



More information about the pld-cvs-commit mailing list