]> git.pld-linux.org Git - packages/libmtp.git/blob - libmtp.spec
- updated to 0.1.3
[packages/libmtp.git] / libmtp.spec
1 Summary:        Implementation of Microsoft's Media Transfer Protocol (MTP)
2 Summary(pl):    Implementacja protoko³u MTP (Media Transfer Protocol) Microsoftu
3 Name:           libmtp
4 Version:        0.1.3
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
9 # Source0-md5:  311b99c9d9a96efff6383f7466b2b229
10 URL:            http://libmtp.sourceforge.net/
11 BuildRequires:  automake
12 BuildRequires:  libusb-devel >= 0.1.11-3
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 libmtp is an implementation of Microsoft's Media Transfer Protocol
17 (MTP) in the form of a library suitable primarily for POSIX compliant
18 operating systems.
19
20 %description -l pl
21 libmtp to implementacja protoko³u przesy³ania mediów MTP (Media
22 Transfer Protocol) Microsoftu w postaci biblioteki nadaj±cej siê
23 przede wszystkim dla systemów operacyjnych zgodnych z POSIX.
24
25 %package devel
26 Summary:        Header files for mtp library
27 Summary(pl):    Pliki nag³ówkowe biblioteki mtp
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30 Requires:       libusb-devel
31
32 %description devel
33 This is the package containing the header files for mtp library.
34
35 %description devel -l pl
36 Ten pakiet zawiera pliki nag³ówkowe biblioteki mtp.
37
38 %package static
39 Summary:        Static mtp library
40 Summary(pl):    Statyczna biblioteka mtp
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static mtp library.
46
47 %description static -l pl
48 Statyczna biblioteka mtp.
49
50 %prep
51 %setup -q
52
53 %build
54 cp -f /usr/share/automake/config.sub .
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog README TODO
73 %attr(755,root,root) %{_bindir}/*
74 %attr(755,root,root) %{_libdir}/libmtp.so.*.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc doc/html/*
79 %attr(755,root,root) %{_libdir}/libmtp.so
80 %{_libdir}/libmtp.la
81 %{_includedir}/*
82 %{_pkgconfigdir}/*.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libmtp.a
This page took 0.112183 seconds and 4 git commands to generate.