packages: udev-extras/udev-extras.spec (NEW) - initial PLD release
patrys
patrys at pld-linux.org
Mon May 25 12:07:50 CEST 2009
Author: patrys Date: Mon May 25 10:07:50 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- initial PLD release
---- Files affected:
packages/udev-extras:
udev-extras.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/udev-extras/udev-extras.spec
diff -u /dev/null packages/udev-extras/udev-extras.spec:1.1
--- /dev/null Mon May 25 12:07:50 2009
+++ packages/udev-extras/udev-extras.spec Mon May 25 12:07:45 2009
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+%define snap 20090525
+Summary: Extra rules and tools for udev
+Name: udev-extras
+Version: 20090516
+Release: 0.%{snap}.1
+License: GPL v2+
+Group: Base
+# git clone --depth 1 git://git.kernel.org/pub/scm/linux/hotplug/udev-extras.git
+# cd udev-extras
+# git archive master --prefix udev-extras/ | bzip2 > udev-extras-$(date +%Y%m%d).tar.bz2
+Source0: %{name}-%{snap}.tar.bz2
+# Source0-md5: 5aa462246e90f0527c78ea9866436f18
+URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: glib2-devel
+BuildRequires: libtool
+BuildRequires: libusb-devel
+BuildRequires: libxslt-devel
+BuildRequires: pciutils
+BuildRequires: pkg-config
+BuildRequires: udev-devel
+BuildRequires: usbutils >= 0.82
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The udev-extras package contains an additional rules and tools to
+create and identify devices.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-udev-prefix=/ \
+ --with-pci-ids-path=%{_sysconfdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc keymap/README.keymap.txt TODO
+%dir %{_datadir}/udev-extras
+%attr(755,root,root) %{_datadir}/udev-extras/findkeyboards
+%attr(755,root,root) %{_prefix}/lib/ConsoleKit/run-session.d/udev-acl.ck
+%attr(755,root,root) /lib/udev/keymap
+%attr(755,root,root) /lib/udev/modem-modeswitch
+%attr(755,root,root) /lib/udev/pci-db
+%attr(755,root,root) /lib/udev/udev-acl
+%attr(755,root,root) /lib/udev/usb-db
+%attr(755,root,root) /lib/udev/v4l_id
+/lib/udev/keymaps
+/lib/udev/rules.d/*.rules
+%{_mandir}/man8/modem-modeswitch*.8*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/05/25 10:07:45 patrys
+- initial PLD release
+
================================================================
More information about the pld-cvs-commit
mailing list