]> git.pld-linux.org Git - packages/libmtp.git/blame - libmtp.spec
- Up to 1.1.3.
[packages/libmtp.git] / libmtp.spec
CommitLineData
f61a8911 1Summary: Implementation of Microsoft's Media Transfer Protocol (MTP)
3d4e56df 2Summary(pl.UTF-8): Implementacja protokołu MTP (Media Transfer Protocol) Microsoftu
f61a8911 3Name: libmtp
f803142a 4Version: 1.1.3
d3201b8e 5Release: 1
212f0d8a 6License: LGPL v2+
0fb838cd 7Group: Libraries
87e7d68a 8Source0: http://downloads.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
f803142a 9# Source0-md5: 11529eedaf0e1fc00cdd6119eec525f0
f61a8911 10URL: http://libmtp.sourceforge.net/
26a1d833 11BuildRequires: automake
0a234ff8 12BuildRequires: doxygen
52748ed1 13BuildRequires: libusb-compat-devel
f61a8911
SP
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17libmtp is an implementation of Microsoft's Media Transfer Protocol
18(MTP) in the form of a library suitable primarily for POSIX compliant
19operating systems.
20
315bf174
JR
21%description -l pl.UTF-8
22libmtp to implementacja protokołu przesyłania mediów MTP (Media
23Transfer Protocol) Microsoftu w postaci biblioteki nadającej się
24przede wszystkim dla systemów operacyjnych zgodnych z POSIX.
26a1d833 25
f61a8911 26%package devel
79fba0a4 27Summary: Header files for mtp library
3d4e56df 28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mtp
f61a8911
SP
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
52748ed1 31Requires: libusb-compat-devel
f61a8911
SP
32
33%description devel
79fba0a4
SP
34This is the package containing the header files for mtp library.
35
315bf174
JR
36%description devel -l pl.UTF-8
37Ten pakiet zawiera pliki nagłówkowe biblioteki mtp.
26a1d833 38
79fba0a4
SP
39%package static
40Summary: Static mtp library
3d4e56df 41Summary(pl.UTF-8): Statyczna biblioteka mtp
79fba0a4
SP
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46Static mtp library.
f61a8911 47
315bf174 48%description static -l pl.UTF-8
26a1d833
JB
49Statyczna biblioteka mtp.
50
36614c0e 51%package progs
52Summary: Utilities from mtp library
3d4e56df 53Summary(pl.UTF-8): Narzędzia biblioteki mtp
36614c0e 54Group: Applications/Multimedia
55Requires: %{name} = %{version}-%{release}
56
57%description progs
58This is the package containing utilities from mtp library.
59
315bf174
JR
60%description progs -l pl.UTF-8
61Ten pakiet zawiera narzędzia z biblioteki mtp.
36614c0e 62
212f0d8a
JB
63%package -n udev-libmtp
64Summary: UDEV rules for libmtp devices
65Summary(pl.UTF-8): Reguły UDEV dla urządzeń libmtp
66Group: Applications/System
67Requires: %{name} = %{version}-%{release}
68Requires: udev-core
69
70%description -n udev-libmtp
71UDEV rules for libmtp devices.
72
73%description -n udev-libmtp -l pl.UTF-8
74Reguły UDEV dla urządzeń libmtp.
75
f61a8911
SP
76%prep
77%setup -q
78
79%build
88a78d76 80cp -f /usr/share/automake/config.sub .
0a234ff8
JB
81%configure \
82 --enable-doxygen \
83 --with-udev-group=audio \
84 --with-udev-mode=0660
f61a8911
SP
85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc AUTHORS ChangeLog README TODO
4a0c877a 102%attr(755,root,root) %{_libdir}/libmtp.so.*.*.*
0a234ff8 103%attr(755,root,root) %ghost %{_libdir}/libmtp.so.9
f61a8911
SP
104
105%files devel
106%defattr(644,root,root,755)
4a0c877a 107%doc doc/html/*
f61a8911 108%attr(755,root,root) %{_libdir}/libmtp.so
f61a8911 109%{_libdir}/libmtp.la
d0a7e6f3
JB
110%{_includedir}/libmtp.h
111%{_pkgconfigdir}/libmtp.pc
79fba0a4
SP
112
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/libmtp.a
36614c0e 116
117%files progs
118%defattr(644,root,root,755)
212f0d8a
JB
119%attr(755,root,root) %{_bindir}/mtp-*
120
121%files -n udev-libmtp
122%defattr(644,root,root,755)
457346e9 123%attr(755,root,root) /lib/udev/mtp-probe
c05dbc98 124/lib/udev/rules.d/69-libmtp.rules
This page took 0.06685 seconds and 4 git commands to generate.