## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global minorversion 0.6 Name: mousepad Version: 0.6.3 Release: %autorelease Summary: Simple text editor for Xfce desktop environment # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://git.xfce.org/apps/mousepad/about/ Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 BuildRequires: make BuildRequires: gcc BuildRequires: xfce4-dev-tools BuildRequires: gettext BuildRequires: intltool BuildRequires: desktop-file-utils BuildRequires: gtksourceview4-devel BuildRequires: dbus-glib-devel BuildRequires: glib2-devel BuildRequires: libappstream-glib BuildRequires: gspell-devel BuildRequires: polkit-devel BuildRequires: libxfce4ui-devel %description Mousepad aims to be an easy-to-use and fast editor. It's target is an editor for quickly editing text files, not a development environment or an editor with a huge bunch of plugins. Mousepad is based on Leafpad. The initial reason for Mousepad was to provide printing support, which would have been difficult for Leafpad for various reasons. Although some features are under development, currently Mousepad has following features: * Complete support for UTF-8 text * Cut/Copy/Paste and Select All text * Search and Replace * Font selecton * Word Wrap * Character coding selection * Auto character coding detection (UTF-8 and some codesets) * Manual codeset setting * Infinite Undo/Redo by word * Auto Indent * Multi-line Indent * Display line numbers * Drag and Drop * Printing %package -n libmousepad0 Summary: Mousepad plugin provider Group: System/Libraries Requires: %{name} >= %{version} %description -n libmousepad0 A plugin provider for the Mousepad text editor %package devel Summary: Development files for Mousepad Group: Development/Libraries Requires: libmousepad0 >= %{version} %Description devel Development files for Mousepad plugin development %prep %autosetup %build %configure %make_build %install %make_install %find_lang %{name} desktop-file-install \ --remove-category="Application" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/org.xfce.%{name}.desktop desktop-file-install \ --remove-category="Application" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/org.xfce.%{name}-settings.desktop mkdir -p %{buildroot}%{_metainfodir} appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml find %{buildroot} -name '*.la' -exec rm -f {} ';' %if 0%{?el7} %post update-desktop-database &> /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 || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %post -n libmousepad0 -p /sbin/ldconfig %postun -n libmousepad0 -p /sbin/ldconfig %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %endif %files -f %{name}.lang %doc AUTHORS NEWS %license COPYING %{_bindir}/mousepad %{_metainfodir}/org.xfce.%{name}.appdata.xml %{_datadir}/applications/org.xfce.%{name}.desktop %{_datadir}/applications/org.xfce.%{name}-settings.desktop %{_datadir}/glib-2.0/schemas/org.xfce.%{name}.*.xml %{_datadir}/polkit-1/actions/org.xfce.mousepad.policy %{_datadir}/icons/hicolor/*/*/*.%{name}* %{_libdir}/%{name}/plugins %files -n libmousepad0 %{_libdir}/libmousepad.* %files devel %{_libdir}/libmousepad.so %changelog ## START: Generated by rpmautospec * Wed Oct 23 2024 Mukundan Ragavan - 0.6.3-1 - Update to v0.6.3 * Mon Aug 26 2024 David King - 0.6.2-4 - Rebuild against gspell * Thu Jul 25 2024 Miroslav Suchý - 0.6.2-3 - convert GPLv2+ license to SPDX * Thu Jul 18 2024 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Feb 10 2024 Mukundan Ragavan - 0.6.2-1 - Update mousepad to v0.6.2 * Thu Jan 25 2024 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat May 20 2023 Kevin Fenzi - 0.6.1-1 - Update to 0.6.1. Fixes rhbz#2203526 * Fri Feb 10 2023 Mukundan Ragavan - 0.6.0-1 - Update to v0.6.0 * Mon Jan 23 2023 Yaakov Selkowitz - 0.5.10-4 - Drop unused dependencies * Thu Jan 19 2023 Fedora Release Engineering - 0.5.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.5.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 10 2022 Mukundan Ragavan - 0.5.10-1 - update to v0.5.10 * Mon May 16 2022 Mukundan Ragavan - 0.5.9-2 - build against gtksourceview4 for testing * Sat Apr 02 2022 Mukundan Ragavan - 0.5.9-1 - Update to 0.5.9 * Thu Jan 20 2022 Fedora Release Engineering - 0.5.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Mukundan Ragavan - 0.5.8-2 - Enable gspell plugin - fixes rhbz#2031672 * Sun Nov 28 2021 Kevin Fenzi - 0.5.8-1 - Update to 0.5.8. Fixes rhbz#2026877 * Fri Sep 24 2021 Mukundan Ragavan - 0.5.7-1 - Update to 0.5.7 * Mon Aug 02 2021 Mukundan Ragavan - 0.5.6-1 - Update to 0.5.6 - Drop upstreamed patch * Thu Jul 22 2021 Fedora Release Engineering - 0.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 14 2021 Kevin Fenzi - 0.5.5-1 - Update to 0.5.5 - Split out devel and libmousepad0 library for plugins. * Fri Apr 02 2021 Mukundan Ragavan - 0.5.4-1 - Update to 0.5.4 * Tue Mar 02 2021 Mukundan Ragavan - 0.5.3-1 - Update to 0.5.3 * Sun Jan 31 2021 Mukundan Ragavan - 0.5.2-1 - Update to 0.5.2 * Tue Jan 26 2021 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 23 2020 Mukundan Ragavan - 0.5.1-1 - Update to 0.5.1 * Tue Jul 28 2020 Fedora Release Engineering - 0.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jul 30 2019 Mukundan Ragavan - 0.4.2-1 - Update to 0.4.2 - Add xfconf-devel as buildrequires - Change appdata install location * Thu Jul 25 2019 Fedora Release Engineering - 0.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Mukundan Ragavan - 0.4.1-3 - Add el conditional to fix schema compilation * Thu Jun 28 2018 Mukundan Ragavan - 0.4.1-2 - Add proper appdata file - Add proper schema handling * Sat Jun 02 2018 Mukundan Ragavan - 0.4.1-1 - Update to 0.4.1 * Sun Feb 11 2018 Filipe Rosset - 0.4.0-10 - Spec modernization + Switch to gtk3 * Thu Feb 08 2018 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Mar 26 2015 Richard Hughes - 0.4.0-3 - Add an AppData file for the software center * Sun Mar 01 2015 Kevin Fenzi 0.4.0-2 - Fix glib schemas * Sat Feb 28 2015 Mukundan Ragavan - 0.4.0-1 - Update to 0.4.0 * Sun Aug 17 2014 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Dec 30 2012 Christoph Wickert - 0.3.0-1 - Update to 0.3.0 final - Clean up spec file * Mon Sep 03 2012 Kevin Fenzi 0.3.0-0.1 - Update to pre-release git snapshot of 0.3.0 * Fri Jul 20 2012 Fedora Release Engineering - 0.2.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Apr 04 2012 Kevin Fenzi - 0.2.16-7 - Rebuild for Xfce 4.10 * Fri Jan 13 2012 Fedora Release Engineering - 0.2.16-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.2.16-5 - Rebuild for new libpng * Tue Feb 08 2011 Fedora Release Engineering - 0.2.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Nov 01 2010 Kevin Fenzi - 0.2.16-3 - Add patch to fix find bug (#648560) * Sat Jul 25 2009 Fedora Release Engineering - 0.2.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Kevin Fenzi - 0.2.16-1 - Update to 0.2.16 * Wed Feb 25 2009 Fedora Release Engineering - 0.2.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Oct 27 2008 Christoph Wickert - 0.2.14-1 - Update to 0.2.14 - BuildRequire intltool - Drop category X-Fedora from desktop file * Sun Feb 10 2008 Kevin Fenzi - 0.2.13-2 - Rebuild for gcc43 * Sun Nov 18 2007 Kevin Fenzi - 0.2.13-1 - Update to 0.2.13 * Mon Aug 27 2007 Kevin Fenzi - 0.2.12-3 - Update License tag * Mon May 14 2007 Kevin Fenzi - 0.2.12-2 - Rebuild for ppc64 * Sun Jan 21 2007 Kevin Fenzi - 0.2.12-1 - Update to 0.2.12 * Fri Nov 10 2006 Kevin Fenzi - 0.2.10-1 - Update to 0.2.10 * Thu Oct 5 2006 Kevin Fenzi - 0.2.8-2 - Fix typo in description * Sun Sep 3 2006 Kevin Fenzi - 0.2.8-1 - Update to 0.2.8 * Thu Aug 31 2006 Kevin Fenzi - 0.2.6-2 - Add update-desktop-database * Sun Aug 27 2006 Kevin Fenzi - 0.2.6-1 - Inital package for fedora extras ## END: Generated by rpmautospec