nemo-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. Name: nemo
  2. Summary: File manager for Cinnamon
  3. Version: 2.2.0
  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. %{_libdir}/libnemo-extension.so.*
  82. %{_libdir}/girepository-1.0/Nemo-3.0.typelib
  83. %{_libexecdir}/nemo-convert-metadata
  84. %{_datadir}/applications/nemo-autorun-software.desktop
  85. %{_datadir}/applications/nemo-autostart.desktop
  86. %{_datadir}/applications/nemo.desktop
  87. %{_datadir}/dbus-1/services/org.Nemo.service
  88. %{_datadir}/dbus-1/services/org.freedesktop.NemoFileManager1.service
  89. %{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
  90. %{_datadir}/gtksourceview-2.0/language-specs/nemo_action.lang
  91. %{_datadir}/gtksourceview-3.0/language-specs/nemo_action.lang
  92. %{_datadir}/icons/*/*/*
  93. %{_datadir}/mime/packages/nemo.xml
  94. %{_datadir}/polkit-1/actions/org.nemo.root.policy
  95. %{_datadir}/%{name}/actions
  96. %{_datadir}/%{name}/icons/hicolor/*/*/emblem-note.png
  97. %{_datadir}/%{name}/nemo-extras.placeholder
  98. %{_datadir}/%{name}/nemo-suggested.placeholder
  99. %{_mandir}/man1/*.1.gz
  100. %files devel
  101. %defattr(-,root,root,-)
  102. %{_includedir}/%{name}
  103. %{_libdir}/libnemo-extension.so
  104. %{_libdir}/pkgconfig/libnemo-extension.pc
  105. %{_datadir}/gir-1.0/Nemo-3.0.gir
  106. %changelog
  107. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  108. - new upstream release
  109. - remove Patch0 (nemo-1.8.5-gtk-3.10.x.patch)
  110. - change BuildRequires: cinnamon-desktop-devel instead of gnome-desktop3-devel
  111. - add BuildRequires: pygobject3-devel, python-polib
  112. * Tue Oct 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-2
  113. - add Patch0 (nemo-1.8.5-gtk-3.10.x.patch)
  114. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
  115. - new upstream release
  116. - add Patch2000 (nemo-1.8.5-vine.patch)
  117. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  118. - new upstream release
  119. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  120. - new upstream release
  121. * Fri Nov 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  122. - new upstream release
  123. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  124. - new upstream release
  125. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  126. - initial build