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 | |
---|
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 |
---|
26 | %patch0 -p1 |
---|
27 | %patch1 -p1 |
---|
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 |
---|
45 | /usr/bin/update-desktop-database -q %{_datadir}/applications |
---|
46 | |
---|
47 | %postun |
---|
48 | /usr/bin/update-desktop-database -q %{_datadir}/applications |
---|
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 |
---|
58 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.16-4 |
---|
59 | - rebuild with Xfce-4.10.0 |
---|
60 | |
---|
61 | * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.16-3 |
---|
62 | - added Pacth0,1 from Debian |
---|
63 | - fixed find dialog problem |
---|
64 | |
---|
65 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-2 |
---|
66 | - added Japanese summary |
---|
67 | - fixed %%post, %%postun script for running silently |
---|
68 | |
---|
69 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-1 |
---|
70 | - new upstream release |
---|
71 | |
---|
72 | * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.13-1vl5 |
---|
73 | - applied new versioning policy |
---|
74 | |
---|
75 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.13-0vl2 |
---|
76 | - new upstream release. |
---|
77 | |
---|
78 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl2 |
---|
79 | - build for VineSeed |
---|
80 | |
---|
81 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl1 |
---|
82 | - initial release |
---|
83 | |
---|