mousepad-vl.spec 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: mousepad
  2. Summary: A simple text editor for Xfce desltop environment
  3. Summary(ja): Xfce デスクトップ環境向けのシンプルなテキストエディタ
  4. Version: 0.4.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Editors
  8. Source0: http://archive.xfce.org/src/apps/%{name}/0.4/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: dbus-glib-devel >= 0.34
  11. BuildRequires: glib2-devel >= 2.30.0
  12. BuildRequires: gsettings-desktop-schemas-devel
  13. BuildRequires: gtk3-devel
  14. BuildRequires: gtksourceview3-devel
  15. BuildRequires: libxfce4ui-devel >= 4.6.0
  16. Requires(post): desktop-file-utils
  17. Requires(postun): desktop-file-utils
  18. %description
  19. Mousepad aims to be an easy-to-use and fast editor. Our target is an
  20. editor for quickly editing text files, not a development environment
  21. or an editor with a huge bunch of plugins.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --enable-silent-rules --enable-gtk3
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*.cache
  31. %find_lang %{name}
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %postun
  35. if [ $1 -eq 0 ] ; then
  36. update-desktop-database -q %{_datadir}/applications &> /dev/null ||:
  37. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  38. fi
  39. %posttrans
  40. update-desktop-database -q %{_datadir}/applications &> /dev/null ||:
  41. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  42. %files -f %{name}.lang
  43. %defattr(-,root,root)
  44. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  45. %{_bindir}/mousepad
  46. %{_datadir}/applications/*.desktop
  47. %{_datadir}/glib-2.0/schemas/*.xml
  48. %changelog
  49. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.0-1
  50. - new upstream release
  51. - changed BR: gtk3-devel instead of gtk2-devel
  52. - changed BR: gtksourceview3-devel instead of gtksourceview2-devel
  53. * Sat Sep 13 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-1
  54. - updated to 0.3.0
  55. - dropped patch0 and patch1
  56. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.16-4
  57. - rebuild with Xfce-4.10.0
  58. * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.16-3
  59. - added Pacth0,1 from Debian
  60. - fixed find dialog problem
  61. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-2
  62. - added Japanese summary
  63. - fixed %%post, %%postun script for running silently
  64. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-1
  65. - new upstream release
  66. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.13-1vl5
  67. - applied new versioning policy
  68. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.13-0vl2
  69. - new upstream release.
  70. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl2
  71. - build for VineSeed
  72. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl1
  73. - initial release