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