mousepad-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Summary: A simple text editor for XFce
  2. Summary(ja): XFce 向けのシンプルなテキストエディタ
  3. Name: mousepad
  4. Version: 0.2.16
  5. Release: 4%{?_dist_release}
  6. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  7. Patch0: 00_resensitize-find-button.patch
  8. Patch1: 01_fix-first-replace.patch
  9. License: GPL
  10. Group: Applications/Editors
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk2-devel >= 2.6.0
  13. BuildRequires: libxfcegui4-devel >= 4.6.0
  14. Requires(post): desktop-file-utils
  15. Requires(postun): desktop-file-utils
  16. %description
  17. Mousepad is a text editor for XFce based on Leafpad. The initial reason for
  18. Mousepad was to provide printing support, which would have been difficult
  19. for Leafpad for various reasons.
  20. %prep
  21. %setup -q
  22. %patch0 -p1
  23. %patch1 -p1
  24. %build
  25. %configure
  26. make
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. %makeinstall
  30. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*.cache
  31. %find_lang %{name}
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post
  35. /usr/bin/update-desktop-database -q %{_datadir}/applications
  36. %postun
  37. /usr/bin/update-desktop-database -q %{_datadir}/applications
  38. %files -f %{name}.lang
  39. %defattr(-,root,root)
  40. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  41. %{_bindir}/mousepad
  42. %{_datadir}/applications/*.desktop
  43. %{_datadir}/pixmaps/*.png
  44. %changelog
  45. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.16-4
  46. - rebuild with Xfce-4.10.0
  47. * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.16-3
  48. - added Pacth0,1 from Debian
  49. - fixed find dialog problem
  50. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-2
  51. - added Japanese summary
  52. - fixed %%post, %%postun script for running silently
  53. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-1
  54. - new upstream release
  55. * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.13-1vl5
  56. - applied new versioning policy
  57. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.13-0vl2
  58. - new upstream release.
  59. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl2
  60. - build for VineSeed
  61. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl1
  62. - initial release