kio_mtp-vl.spec 3.2 KB

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