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