1 | %define git_commit c418634 |
---|
2 | %define snap 20141221 |
---|
3 | |
---|
4 | Name: kio_mtp |
---|
5 | Version: 0.75 |
---|
6 | Release: 8.%{snap}git%{git_commit}%{?dist} |
---|
7 | Summary: An MTP KIO slave for KDE |
---|
8 | |
---|
9 | License: GPLv2+ |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: https://projects.kde.org/projects/playground/base/kio-mtp |
---|
12 | # use releaseme |
---|
13 | Source0: kio-mtp-%{version}-%{snap}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: gettext |
---|
17 | BuildRequires: kdelibs4-devel |
---|
18 | BuildRequires: libmtp-devel |
---|
19 | |
---|
20 | %description |
---|
21 | Provides KIO Access to MTP devices using the mtp:/// protocol. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -n kio-mtp-%{version} |
---|
25 | |
---|
26 | |
---|
27 | %build |
---|
28 | mkdir %{_target_platform} |
---|
29 | pushd %{_target_platform} |
---|
30 | %cmake \ |
---|
31 | -DCMAKE_BUILD_TYPE=release \ |
---|
32 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
33 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
34 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
35 | .. |
---|
36 | popd |
---|
37 | |
---|
38 | make %{?_smp_mflags} -C %{_target_platform} |
---|
39 | |
---|
40 | |
---|
41 | %install |
---|
42 | rm -rf %{buildroot} |
---|
43 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
44 | |
---|
45 | %find_lang kio_mtp --with-kde |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf %{buildroot} |
---|
49 | |
---|
50 | |
---|
51 | %files -f kio_mtp.lang |
---|
52 | %doc README LICENCE |
---|
53 | %{_libdir}/kde4/kio_mtp.so |
---|
54 | %{_datadir}/kde4/services/mtp.protocol |
---|
55 | %{_datadir}/kde4/apps/konqueror/dirtree/remote/mtp-network.desktop |
---|
56 | %{_datadir}/kde4/apps/solid/actions/solid_mtp.desktop |
---|
57 | %{_datadir}/kde4/apps/remoteview/mtp-network.desktop |
---|
58 | |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.75-8.20141221gitc418634 |
---|
62 | - Initial build for Vine Linux |
---|
63 | |
---|
64 | * Sat Jan 10 2015 Rex Dieter <rdieter@fedoraproject.org> 0.75-7.20141221gitc418634 |
---|
65 | - 20141221 snapshot, include translations, .spec cleanup |
---|
66 | |
---|
67 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-6.20131020git2063e75 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
69 | |
---|
70 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-5.20131020git2063e75 |
---|
71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
72 | |
---|
73 | * Tue Nov 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-4.20131020git2063e75 |
---|
74 | - update git snapshot |
---|
75 | |
---|
76 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-3.20130323gitcc6b195 |
---|
77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
78 | |
---|
79 | * Tue Mar 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-2.20130323gitcc6b195 |
---|
80 | - update git snapshot |
---|
81 | |
---|
82 | * Tue Mar 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-1.20130323git1bcd508 |
---|
83 | - update git snapshot |
---|
84 | |
---|
85 | * Mon Mar 11 2013 Jan Grulich <jgrulich@redhat.com> - 0.70-5.20130311git7de86ba |
---|
86 | - fix versioning |
---|
87 | |
---|
88 | * Mon Mar 11 2013 Jan Grulich <jgrulich@redhat.com> - 0.70-4.20130311git7de86ba |
---|
89 | - update git snapshot |
---|
90 | |
---|
91 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.70-3.20121225gitfae62fc |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
93 | |
---|
94 | * Tue Dec 25 2012 Jan Grulich <jgrulich@redhat.com> - 0.70-2.20121225gitfae62fc |
---|
95 | - Add LICENCE file |
---|
96 | - Remove %%clean |
---|
97 | - Change name |
---|
98 | |
---|
99 | * Fri Dec 21 2012 Jan Grulich <jgrulich@redhat.com> - 0.70-1.20121221gitccaa6d1 |
---|
100 | - Initial package |
---|
101 | - Based on git snapshot ccaa6d1da2d6c04134dd35fbdd6bbf5dd0b86572 |
---|