|
@@ -6,7 +6,7 @@ Summary: A userspace implementation of devfs
|
|
|
Summary(ja): ユーザスペース実装のデバイスファイルシステム
|
|
|
Name: udev
|
|
|
Version: 154
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 5%{?_dist_release}
|
|
|
License: GPL
|
|
|
Group: System Environment/Base
|
|
|
URL: http://kernel.org/pub/linux/utils/kernel/hotplug/
|
|
@@ -44,7 +44,6 @@ Obsoletes: dev < 3.22
|
|
|
Conflicts: dev < 3.22
|
|
|
Provides: dev = 3.22
|
|
|
Obsoletes: murasaki, usbmgr, hotplug
|
|
|
-Provides: murasaki
|
|
|
|
|
|
Requires: pam
|
|
|
|
|
@@ -77,6 +76,15 @@ Requires: libudev = %{version}-%{release}
|
|
|
This package contains the development files for the library libudev, a
|
|
|
dynamic library, which provides access to udev device information.
|
|
|
|
|
|
+%package -n libudev-static
|
|
|
+Summary: Static libraries for libudev
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: libudev-devel = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n libudev-static
|
|
|
+This package contains the static library libudev, which provides
|
|
|
+access to udev device information.
|
|
|
+
|
|
|
%package -n libgudev1
|
|
|
Summary: Libraries for adding libudev support to applications that use glib
|
|
|
Group: Development/Libraries
|
|
@@ -95,7 +103,6 @@ Group: Development/Libraries
|
|
|
Requires: libudev-devel >= 142
|
|
|
Provides: libgudev-devel = 20090518
|
|
|
Obsoletes: libgudev-devel <= 20090517
|
|
|
-
|
|
|
Requires: libgudev1 = %{version}-%{release}
|
|
|
|
|
|
%description -n libgudev1-devel
|
|
@@ -116,7 +123,7 @@ autoreconf -f -i
|
|
|
--sysconfdir=%{_sysconfdir} --with-libdir-name=%{_lib} \
|
|
|
--sbindir="/sbin" --libexecdir=%{udev_scriptdir} \
|
|
|
--with-rootlibdir=/%{_lib} --enable-introspection \
|
|
|
- --enable-debug
|
|
|
+ --enable-debug --enable-static
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
@@ -130,6 +137,8 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
rm -fr $RPM_BUILD_ROOT%{_docdir}/udev
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
|
|
+rm -f $RPM_BUILD_ROOT/%{_libdir}/libgudev1-*.a
|
|
|
+
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/udev/udev.rules
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init.d/udev
|
|
|
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d/default/10-udev.hotplug
|
|
@@ -325,6 +334,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_datadir}/pkgconfig/udev.pc
|
|
|
%{_datadir}/gtk-doc/html/libudev/*
|
|
|
|
|
|
+%files -n libudev-static
|
|
|
+%defattr(0644,root,root,0755)
|
|
|
+%{_libdir}/libudev.a
|
|
|
+
|
|
|
%files -n libgudev1
|
|
|
%defattr(0644, root, root, 0755)
|
|
|
%doc COPYING
|
|
@@ -343,6 +356,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 154-3
|
|
|
+- enable static library, add libudev-static subpackage.
|
|
|
+
|
|
|
* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 154-2
|
|
|
- rebuild with rpm-4.8.1 for pkg-config file
|
|
|
- add BuildRequires: gperf, libacl-devel, libusb-devel
|