1 | Name: mousepad |
---|
2 | Summary: A simple text editor for Xfce desltop environment |
---|
3 | Summary(ja): Xfce デスクトップ環境向けのシンプルなテキストエディタ |
---|
4 | Version: 0.4.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: Applications/Editors |
---|
9 | |
---|
10 | Source0: http://archive.xfce.org/src/apps/%{name}/0.4/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: dbus-glib-devel >= 0.34 |
---|
14 | BuildRequires: glib2-devel >= 2.30.0 |
---|
15 | BuildRequires: gsettings-desktop-schemas-devel |
---|
16 | BuildRequires: gtk3-devel |
---|
17 | BuildRequires: gtksourceview3-devel |
---|
18 | BuildRequires: libxfce4ui-devel >= 4.6.0 |
---|
19 | Requires(post): desktop-file-utils |
---|
20 | Requires(postun): desktop-file-utils |
---|
21 | |
---|
22 | %description |
---|
23 | Mousepad aims to be an easy-to-use and fast editor. Our target is an |
---|
24 | editor for quickly editing text files, not a development environment |
---|
25 | or an editor with a huge bunch of plugins. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | |
---|
30 | %build |
---|
31 | %configure --enable-silent-rules --enable-gtk3 |
---|
32 | make %{?_smp_mflags} |
---|
33 | |
---|
34 | %install |
---|
35 | rm -rf $RPM_BUILD_ROOT |
---|
36 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
37 | |
---|
38 | rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*.cache |
---|
39 | |
---|
40 | %find_lang %{name} |
---|
41 | |
---|
42 | %clean |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | |
---|
45 | %postun |
---|
46 | if [ $1 -eq 0 ] ; then |
---|
47 | update-desktop-database -q %{_datadir}/applications &> /dev/null ||: |
---|
48 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
49 | fi |
---|
50 | |
---|
51 | %posttrans |
---|
52 | update-desktop-database -q %{_datadir}/applications &> /dev/null ||: |
---|
53 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
54 | |
---|
55 | %files -f %{name}.lang |
---|
56 | %defattr(-,root,root) |
---|
57 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
58 | %{_bindir}/mousepad |
---|
59 | %{_datadir}/applications/*.desktop |
---|
60 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.0-1 |
---|
64 | - new upstream release |
---|
65 | - changed BR: gtk3-devel instead of gtk2-devel |
---|
66 | - changed BR: gtksourceview3-devel instead of gtksourceview2-devel |
---|
67 | |
---|
68 | * Sat Sep 13 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-1 |
---|
69 | - updated to 0.3.0 |
---|
70 | - dropped patch0 and patch1 |
---|
71 | |
---|
72 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.16-4 |
---|
73 | - rebuild with Xfce-4.10.0 |
---|
74 | |
---|
75 | * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.2.16-3 |
---|
76 | - added Pacth0,1 from Debian |
---|
77 | - fixed find dialog problem |
---|
78 | |
---|
79 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-2 |
---|
80 | - added Japanese summary |
---|
81 | - fixed %%post, %%postun script for running silently |
---|
82 | |
---|
83 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.16-1 |
---|
84 | - new upstream release |
---|
85 | |
---|
86 | * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.13-1vl5 |
---|
87 | - applied new versioning policy |
---|
88 | |
---|
89 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.13-0vl2 |
---|
90 | - new upstream release. |
---|
91 | |
---|
92 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl2 |
---|
93 | - build for VineSeed |
---|
94 | |
---|
95 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.2.12-0vl1 |
---|
96 | - initial release |
---|
97 | |
---|