nemo-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Name: nemo
  2. Summary: File manager for Cinnamon
  3. Version: 1.8.5
  4. Release: 2%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://cinnamon.linuxmint.com/
  8. Source0: %{name}-%{version}.tar.gz
  9. Patch0: nemo-1.8.5-gtk-3.10.x.patch
  10. # patch for Vine
  11. Patch2000: nemo-1.8.5-vine.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk3-devel
  14. BuildRequires: gobject-introspection-devel
  15. BuildRequires: gnome-desktop3-devel
  16. BuildRequires: libnotify-devel
  17. BuildRequires: libxml2-devel
  18. BuildRequires: libexif-devel
  19. BuildRequires: exempi-devel
  20. BuildRequires: tracker-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: gnome-common
  23. Requires(postun,posttrans): glib2
  24. Requires(postun,posttrans): desktop-file-utils
  25. Requires(postun,posttrans): shared-mime-info
  26. %description
  27. File manager for cinnamon.
  28. %package devel
  29. Summary: Development files for %{name}
  30. Summary(ja): %{name} の開発ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. The %{name}-devel package contains libraries and header files for
  36. developing applications that use %{name}.
  37. %prep
  38. %setup -q
  39. %patch0 -p1
  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. %find_lang %{name}
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post
  60. /sbin/ldconfig
  61. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  62. %postun
  63. /sbin/ldconfig
  64. if [ $1 -eq 0 ]; then
  65. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  66. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  67. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  68. update-mime-database %{_datadir}/mime &> /dev/null || :
  69. update-desktop-database -q &> /dev/null || :
  70. fi
  71. %posttrans
  72. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  73. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  74. update-mime-database %{_datadir}/mime &> /dev/null || :
  75. update-desktop-database -q &> /dev/null || :
  76. %files -f %{name}.lang
  77. %defattr(-,root,root,-)
  78. %doc README NEWS COPYING AUTHORS
  79. %{_sysconfdir}/xdg/autostart/nemo-autostart.desktop
  80. %{_bindir}/nemo
  81. %{_bindir}/nemo-autorun-software
  82. %{_bindir}/nemo-connect-server
  83. %{_libdir}/libnemo-extension.so.*
  84. %{_libdir}/girepository-1.0/Nemo-3.0.typelib
  85. %{_libexecdir}/nemo-convert-metadata
  86. %{_datadir}/GConf/gsettings/nemo.convert
  87. %{_datadir}/applications/nemo-autorun-software.desktop
  88. %{_datadir}/applications/nemo.desktop
  89. %{_datadir}/dbus-1/services/org.Nemo.service
  90. %{_datadir}/dbus-1/services/org.freedesktop.NemoFileManager1.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}/%{name}/actions
  97. %{_datadir}/%{name}/icons/hicolor/*/*/emblem-note.png
  98. %{_datadir}/%{name}/nemo-extras.placeholder
  99. %{_datadir}/%{name}/nemo-suggested.placeholder
  100. %{_mandir}/man1/*.1.gz
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/%{name}
  104. %{_libdir}/libnemo-extension.so
  105. %{_libdir}/pkgconfig/libnemo-extension.pc
  106. %{_datadir}/gir-1.0/Nemo-3.0.gir
  107. %changelog
  108. * Tue Oct 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-2
  109. - add Patch0 (nemo-1.8.5-gtk-3.10.x.patch)
  110. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
  111. - new upstream release
  112. - add Patch2000 (nemo-1.8.5-vine.patch)
  113. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  114. - new upstream release
  115. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  116. - new upstream release
  117. * Fri Nov 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
  118. - new upstream release
  119. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-1
  120. - new upstream release
  121. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1
  122. - initial build