nemo-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. Name: nemo
  2. Summary: File manager for Cinnamon
  3. Version: 2.8.6
  4. Release: 1%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://cinnamon.linuxmint.com/
  8. Source0: %{name}-%{version}.tar.gz
  9. # patch for Vine
  10. Patch2000: nemo-1.8.5-vine.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: gobject-introspection-devel
  14. BuildRequires: cinnamon-desktop-devel
  15. BuildRequires: libnotify-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: libexif-devel
  18. BuildRequires: exempi-devel
  19. BuildRequires: tracker-devel
  20. BuildRequires: pygobject3-devel
  21. BuildRequires: python-polib
  22. BuildRequires: gtk-doc
  23. BuildRequires: gnome-common
  24. Requires(postun,posttrans): glib2
  25. Requires(postun,posttrans): desktop-file-utils
  26. Requires(postun,posttrans): shared-mime-info
  27. %description
  28. File manager for cinnamon.
  29. %package devel
  30. Summary: Development files for %{name}
  31. Summary(ja): %{name} の開発ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. %description devel
  36. The %{name}-devel package contains libraries and header files for
  37. developing applications that use %{name}.
  38. %prep
  39. %setup -q
  40. %patch2000 -p1 -b .vine
  41. %build
  42. NOCONFIGURE=1 ./autogen.sh
  43. %configure \
  44. --disable-static \
  45. --disable-packagekit
  46. make %{?_smp_mflags}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install DESTDIR=$RPM_BUILD_ROOT
  50. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  51. rm -rf $RPM_BUILD_ROOT%{_datadir}/mime/application
  52. for i in XMLnamespaces aliases generic-icons globs globs2 icons magic mime.cache subclasses treemagic types version
  53. do
  54. rm -f $RPM_BUILD_ROOT%{_datadir}/mime/$i
  55. done
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post
  59. /sbin/ldconfig
  60. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  61. %postun
  62. /sbin/ldconfig
  63. if [ $1 -eq 0 ]; then
  64. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. update-mime-database %{_datadir}/mime &> /dev/null || :
  68. update-desktop-database -q &> /dev/null || :
  69. fi
  70. %posttrans
  71. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  72. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  73. update-mime-database %{_datadir}/mime &> /dev/null || :
  74. update-desktop-database -q &> /dev/null || :
  75. %files
  76. %defattr(-,root,root,-)
  77. %doc README NEWS COPYING AUTHORS
  78. %{_bindir}/nemo
  79. %{_bindir}/nemo-autorun-software
  80. %{_bindir}/nemo-connect-server
  81. %{_bindir}/nemo-open-with
  82. %{_libdir}/libnemo-extension.so.*
  83. %{_libdir}/girepository-1.0/Nemo-3.0.typelib
  84. %{_libexecdir}/nemo-convert-metadata
  85. %{_libexecdir}/nemo-extensions-list
  86. %{_datadir}/applications/nemo-autorun-software.desktop
  87. %{_datadir}/applications/nemo-autostart.desktop
  88. %{_datadir}/applications/nemo.desktop
  89. %{_datadir}/dbus-1/services/org.Nemo.service
  90. %{_datadir}/dbus-1/services/org.nemo.freedesktop.FileManager1.service
  91. %{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
  92. %{_datadir}/gtksourceview-2.0/language-specs/nemo_action.lang
  93. %{_datadir}/gtksourceview-3.0/language-specs/nemo_action.lang
  94. %{_datadir}/icons/*/*/*
  95. %{_datadir}/mime/packages/nemo.xml
  96. %{_datadir}/polkit-1/actions/org.nemo.root.policy
  97. %{_datadir}/%{name}/actions
  98. %{_datadir}/%{name}/script-info.md
  99. %{_datadir}/%{name}/icons/hicolor/*/*/emblem-note.png
  100. %{_datadir}/%{name}/nemo-extras.placeholder
  101. %{_datadir}/%{name}/nemo-suggested.placeholder
  102. %{_mandir}/man1/*.1.gz
  103. %files devel
  104. %defattr(-,root,root,-)
  105. %{_includedir}/%{name}
  106. %{_libdir}/libnemo-extension.so
  107. %{_libdir}/pkgconfig/libnemo-extension.pc
  108. %{_datadir}/gir-1.0/Nemo-3.0.gir
  109. %changelog
  110. * Sat Nov 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.6-1
  111. - new upstream release
  112. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-1
  113. - new upstream release
  114. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.5-1
  115. - new upstream release
  116. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.4-1
  117. - new upstream release
  118. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1
  119. - new upstream release
  120. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  121. - new upstream release
  122. - remove Patch0 (nemo-1.8.5-gtk-3.10.x.patch)
  123. - change BuildRequires: cinnamon-desktop-devel instead of gnome-desktop3-devel
  124. - add BuildRequires: pygobject3-devel, python-polib
  125. * Tue Oct 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-2
  126. - add Patch0 (nemo-1.8.5-gtk-3.10.x.patch)
  127. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
  128. - new upstream release
  129. - add Patch2000 (nemo-1.8.5-vine.patch)
  130. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  131. - new upstream release
  132. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  133. - new upstream release
  134. * Fri Nov 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  135. - new upstream release
  136. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  137. - new upstream release
  138. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  139. - initial build