[9328] | 1 | %define git_commit c418634 |
---|
| 2 | %define snap 20141221 |
---|
| 3 | |
---|
| 4 | Name: kio_mtp |
---|
| 5 | Version: 0.75 |
---|
[10763] | 6 | Release: 9.%{snap}git%{git_commit}%{?dist} |
---|
[9328] | 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 |
---|
[10763] | 61 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 0.75-9.20141221gitc418634 |
---|
| 62 | - rebuild with gcc-5.4.0 |
---|
| 63 | |
---|
[9328] | 64 | * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.75-8.20141221gitc418634 |
---|
| 65 | - Initial build for Vine Linux |
---|
| 66 | |
---|
| 67 | * Sat Jan 10 2015 Rex Dieter <rdieter@fedoraproject.org> 0.75-7.20141221gitc418634 |
---|
| 68 | - 20141221 snapshot, include translations, .spec cleanup |
---|
| 69 | |
---|
| 70 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-6.20131020git2063e75 |
---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 72 | |
---|
| 73 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-5.20131020git2063e75 |
---|
| 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 75 | |
---|
| 76 | * Tue Nov 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-4.20131020git2063e75 |
---|
| 77 | - update git snapshot |
---|
| 78 | |
---|
| 79 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-3.20130323gitcc6b195 |
---|
| 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 81 | |
---|
| 82 | * Tue Mar 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-2.20130323gitcc6b195 |
---|
| 83 | - update git snapshot |
---|
| 84 | |
---|
| 85 | * Tue Mar 26 2013 Jan Grulich <jgrulich@redhat.com> - 0.75-1.20130323git1bcd508 |
---|
| 86 | - update git snapshot |
---|
| 87 | |
---|
| 88 | * Mon Mar 11 2013 Jan Grulich <jgrulich@redhat.com> - 0.70-5.20130311git7de86ba |
---|
| 89 | - fix versioning |
---|
| 90 | |
---|
| 91 | * Mon Mar 11 2013 Jan Grulich <jgrulich@redhat.com> - 0.70-4.20130311git7de86ba |
---|
| 92 | - update git snapshot |
---|
| 93 | |
---|
| 94 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.70-3.20121225gitfae62fc |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Tue Dec 25 2012 Jan Grulich <jgrulich@redhat.com> - 0.70-2.20121225gitfae62fc |
---|
| 98 | - Add LICENCE file |
---|
| 99 | - Remove %%clean |
---|
| 100 | - Change name |
---|
| 101 | |
---|
| 102 | * Fri Dec 21 2012 Jan Grulich <jgrulich@redhat.com> - 0.70-1.20121221gitccaa6d1 |
---|
| 103 | - Initial package |
---|
| 104 | - Based on git snapshot ccaa6d1da2d6c04134dd35fbdd6bbf5dd0b86572 |
---|