mousepad-vl.spec 1.8 KB

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