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