mousepad-vl.spec 2.4 KB

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