File mousepad.spec of Package mousepad

#
# spec file for package mousepad (Version 0.2.14)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           mousepad
BuildRequires:  cairo-devel dbus-1-devel gtk2-devel pango-devel perl-XML-Parser startup-notification-devel update-desktop-files
BuildRequires:  intltool libxfcegui4-devel  >= 4.3
Summary:        Simple Xfce oriented text editor
Version:        0.2.14
Release:        1
License:        GPL v2 or later
Url:            http://www.xfce.org/projects/mousepad/
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-%{version}-desktop.patch
Group:          Productivity/Editors/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Mousepad is a text editor for Xfce based on Leafpad. The initial reason
for Mousepad was to provide printing support, which would have been
difficult for Leafpad for various reasons.



Authors:
--------
    Erik Harrison <erikharrison@gmail.com>
    Tarot Osuji <tarot@sdf.lonestar.org>

%prep
%setup -q
%patch0

%build
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file %{name}
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc README ChangeLog COPYING AUTHORS
%{_bindir}/mousepad
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png

%changelog
* Wed Oct 29 2008 bwalle@suse.de
- update to 0.2.14
  Sort recent items by most recently used.
- drop mousepad-0.2.13-sort.patch: mainline.
* Tue Feb 26 2008 prusnak@suse.cz
- fix sorting of MRU items (sort.patch)
- removed INSTALL file
* Mon Dec 03 2007 bwalle@suse.de
- update to 0.2.13
  o Test for support of -Wall, -Werror and -errwarn=%%all (Bug #2921).
  o Remove trailing parens on AC_INIT version info to work around
  bug in intltool 0.35.x and 0.36.x.
  o Updated and new translations
* Sun Oct 21 2007 bwalle@suse.de
- add locale files to package
* Thu Jun 07 2007 sbrabec@suse.cz
- Fixed desktop translation.
- Removed invalid desktop Category "Application" (#254654).
- Use %%find_lang.
* Tue May 22 2007 prusnak@suse.cz
- sync with BuildService
* Thu Jan 25 2007 bwalle@suse.de
- updated to 4.4.0
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version 0.2.8
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 0.2.6
- package moved into BuildService
- no patch needed
openSUSE Build Service is sponsored by