]> git.pld-linux.org Git - packages/libmtp.git/blame - libmtp.spec
- copy config.sub (should work on amd64)
[packages/libmtp.git] / libmtp.spec
CommitLineData
f61a8911
SP
1Summary: Implementation of Microsoft's Media Transfer Protocol (MTP)
2Name: libmtp
3Version: 0.0.4
88a78d76 4Release: 1.1
f61a8911 5License: GPL v2
0fb838cd 6Group: Libraries
f61a8911
SP
7Source0: http://dl.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
8# Source0-md5: ed1ebef445055488e7c18fd5b728bc78
9URL: http://libmtp.sourceforge.net/
10BuildRequires: libtool
11BuildRequires: pkgconfig
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15libmtp is an implementation of Microsoft's Media Transfer Protocol
16(MTP) in the form of a library suitable primarily for POSIX compliant
17operating systems.
18
19%package devel
79fba0a4 20Summary: Header files for mtp library
f61a8911
SP
21Group: Development/Libraries
22Requires: %{name} = %{version}-%{release}
23
24%description devel
79fba0a4
SP
25This is the package containing the header files for mtp library.
26
27%package static
28Summary: Static mtp library
29Group: Development/Libraries
30Requires: %{name}-devel = %{version}-%{release}
31
32%description static
33Static mtp library.
f61a8911
SP
34
35%prep
36%setup -q
37
38%build
39
88a78d76 40cp -f /usr/share/automake/config.sub .
f61a8911
SP
41%configure
42%{__make}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%post -p /sbin/ldconfig
54%postun -p /sbin/ldconfig
55
56%files
57%defattr(644,root,root,755)
58%doc AUTHORS ChangeLog README TODO
59%attr(755,root,root) %{_libdir}/libmtp.so.*.*.*
60%attr(755,root,root) %{_bindir}/*
61
62%files devel
63%defattr(644,root,root,755)
64%attr(755,root,root) %{_libdir}/libmtp.so
f61a8911 65%{_libdir}/libmtp.la
f61a8911
SP
66%{_includedir}/*
67%{_pkgconfigdir}/*.pc
79fba0a4
SP
68
69%files static
70%defattr(644,root,root,755)
71%{_libdir}/libmtp.a
This page took 0.111404 seconds and 4 git commands to generate.