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