SPECS: libmtp.spec - added udev rules for MTP devices - split util...
adasi
adasi at pld-linux.org
Sat Feb 3 18:57:04 CET 2007
Author: adasi Date: Sat Feb 3 17:57:04 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added udev rules for MTP devices
- split utilities into separate package (-progs)
---- Files affected:
SPECS:
libmtp.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/libmtp.spec
diff -u SPECS/libmtp.spec:1.18 SPECS/libmtp.spec:1.19
--- SPECS/libmtp.spec:1.18 Mon Jan 22 10:20:05 2007
+++ SPECS/libmtp.spec Sat Feb 3 18:56:59 2007
@@ -3,11 +3,12 @@
Summary(pl): Implementacja protokołu MTP (Media Transfer Protocol) Microsoftu
Name: libmtp
Version: 0.1.3
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: http://dl.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
# Source0-md5: 311b99c9d9a96efff6383f7466b2b229
+Source1: %{name}-udev.rules
URL: http://libmtp.sourceforge.net/
BuildRequires: automake
BuildRequires: libusb-devel >= 0.1.11-3
@@ -48,6 +49,18 @@
%description static -l pl
Statyczna biblioteka mtp.
+%package progs
+Summary: Utilities from mtp library
+Summary(pl): Narzędzia biblioteki mtp
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description progs
+This is the package containing utilities from mtp library.
+
+%description progs -l pl
+Ten pakiet zawiera narzędzia z biblioteki mtp.
+
%prep
%setup -q
@@ -62,6 +75,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/udev/rules.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/rules.d/80-libmtp.rules
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,8 +87,8 @@
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/libmtp.so.*.*.*
+%{_sysconfdir}/udev/rules.d/*.rules
%files devel
%defattr(644,root,root,755)
@@ -86,12 +102,20 @@
%defattr(644,root,root,755)
%{_libdir}/libmtp.a
+%files progs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
%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.19 2007/02/03 17:56:59 adasi
+- added udev rules for MTP devices
+- split utilities into separate package (-progs)
+
Revision 1.18 2007/01/22 09:20:05 paszczus
- updated to 0.1.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libmtp.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list