Name: leafpad Version: 0.8.18.1 Release: 14%{?dist} Summary: GTK+ based simple text editor Group: Applications/Editors License: GPLv2+ URL: http://tarot.freeshell.org/leafpad/ Source0: http://savannah.nongnu.org/download/leafpad/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= 2.4 BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool %description Leafpad is a GTK+ based simple text editor. The user interface is similar to Notepad. It aims to be lighter than GEdit and KWrite, and to be as useful as them. %prep %setup -q %build %configure --enable-chooser make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7) --vendor fedora \ %endif %{buildroot}%{_datadir}/applications/leafpad.desktop %find_lang %{name} %clean rm -rf %{buildroot} %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{_bindir}/%{name} %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/*/*/* %{_datadir}/pixmaps/leafpad.* %changelog * Wed Jun 17 2015 Fedora Release Engineering - 0.8.18.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Feb 21 2015 Till Maas - 0.8.18.1-13 - Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code * Sun Aug 17 2014 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.8.18.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.8.18.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue May 14 2013 Christoph Wickert - 0.8.18.1-9 - Fix desktop vendor conditionals - Spec file clean-up * Wed Apr 24 2013 Jon Ciesla - 0.8.18.1-8 - Added conditionals. * Wed Apr 24 2013 Jon Ciesla - 0.8.18.1-7 - Drop desktop vendor tag. * Thu Feb 14 2013 Fedora Release Engineering - 0.8.18.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.8.18.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.8.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.8.18.1-3 - Rebuild for new libpng * Fri Jun 03 2011 Christoph Wickert - 0.8.18.1-2 - Add docs (AUTHORS ChangeLog COPYING README) - Really drop unnecessary BuildRequires for libgnomeprintui22-devel this time - Drop Requires(post,pustun) for desktop-file-utils * Fri May 20 2011 Orion Poplawski - 0.8.18.1-1 - Update to 0.8.18.1 - Add BR intltool * Mon Feb 07 2011 Fedora Release Engineering - 0.8.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Nov 01 2009 Christoph Wickert - 0.8.17-1 - Update to 0.8.17 - Drop unnecessary BuildRequires for libgnomeprintui22-devel - Update icon-cache scriptlets * Fri Jul 24 2009 Fedora Release Engineering - 0.8.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.8.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Feb 10 2008 Ignacio Vazquez-Abrams 0.8.13-1 - Upstream update * Tue Aug 21 2007 Ignacio Vazquez-Abrams 0.8.11-2 - Fix License tag - Rebuild for F8t2 * Fri Jul 20 2007 Ignacio Vazquez-Abrams 0.8.11-1 - Upstream update * Fri May 11 2007 Ignacio Vazquez-Abrams 0.8.10le-1 - Upstream update * Wed Sep 06 2006 Michael J. Knox - 0.8.9-3 - Rebuild for FC6 - added BR of gettext * Mon Apr 17 2006 Ignacio Vazquez-Abrams 0.8.9-1 - Upstream update * Mon Feb 13 2006 Ignacio Vazquez-Abrams 0.8.7-2 - Rebuild for Fedora Extras 5 * Fri Feb 3 2006 Ignacio Vazquez-Abrams 0.8.7-1 - Upstream update * Sat Nov 27 2005 Ignacio Vazquez-Abrams 0.8.5-1 - Upstream update * Sat Oct 1 2005 Ignacio Vazquez-Abrams 0.8.4-1 - Upstream update * Thu Aug 18 2005 Ignacio Vazquez-Abrams 0.8.3-2 - Rebuild for new Cairo * Sat Jul 23 2005 Ignacio Vazquez-Abrams 0.8.3-1 - Upstream update * Thu May 19 2005 Ignacio Vazquez-Abrams 0.8.1-1 - Upstream update * Fri Apr 29 2005 Ignacio Vazquez-Abrams 0.8.0-1 - Upstream update * Fri Apr 22 2005 Ignacio Vazquez-Abrams 0.7.9-7 - Used %%find_lang - Cleaned up desktop entry generation a bit * Thu Apr 7 2005 Michael Schwendt - rebuilt * Sat Mar 19 2005 Ignacio Vazquez-Abrams 0.7.9-5 - %% * Sat Mar 19 2005 Ignacio Vazquez-Abrams 0.7.9-4 - Added desktop-file-utils to BuildRequires * Wed Mar 16 2005 Ignacio Vazquez-Abrams 0.7.9-3 - Broke %%description at 80 columns * Wed Mar 16 2005 Ignacio Vazquez-Abrams 0.7.9-2 - Removed explicit Requires * Tue Mar 15 2005 Ignacio Vazquez-Abrams 0.7.9-1 - Bump release to 1 * Thu Feb 3 2005 Ignacio Vazquez-Abrams 0:0.7.9-0.iva.0 - Initial RPM release.