mousepad/mousepad.spec

151 lines
4.9 KiB
RPMSpec
Raw Permalink Normal View History

%define xfce_ver %(pkg-config libxfcegui4-1.0 --modversion)
%define majver %(echo %version | cut -d. -f1-2)
Name: mousepad
Version: 0.6.0
Release: 1mamba
Summary: A simple text editor for Xfce
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.xfce.org/
Source: http://archive.xfce.org/src/apps/mousepad/%{majver}/mousepad-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaspell-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libenchant-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgspell-devel
BuildRequires: libgtk3-devel
BuildRequires: libgtksourceview4-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libhspell-devel
BuildRequires: libpango-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxfconf-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%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.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/mousepad
%{_datadir}/applications/org.xfce.mousepad*.desktop
%{_datadir}/metainfo/org.xfce.mousepad.appdata.xml
%{_libdir}/libmousepad.so
%{_libdir}/libmousepad.so.*
%dir %{_libdir}/mousepad
%dir %{_libdir}/mousepad/plugins
%{_libdir}/mousepad/plugins/libmousepad-plugin-*.so
%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.plugins.gspell.gschema.xml
%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
%{_datadir}/icons/hicolor/*/apps/org.xfce.mousepad.png
%{_datadir}/icons/hicolor/scalable/apps/org.xfce.mousepad.svg
%doc AUTHORS COPYING
#ChangeLog NEWS README TODO
%changelog
* Mon Feb 13 2023 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Sun Jul 10 2022 Automatic Build System <autodist@mambasoft.it> 0.5.10-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 0.5.9-1mamba
- automatic version update by autodist
* Fri Nov 26 2021 Automatic Build System <autodist@mambasoft.it> 0.5.8-1mamba
- automatic version update by autodist
* Wed Sep 29 2021 Automatic Build System <autodist@mambasoft.it> 0.5.7-1mamba
- automatic version update by autodist
* Sun Aug 01 2021 Automatic Build System <autodist@mambasoft.it> 0.5.6-1mamba
- automatic version update by autodist
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 0.5.5-1mamba
- automatic version update by autodist
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
- automatic version update by autodist
* Sun Feb 28 2021 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
- automatic version update by autodist
* Sun Jan 31 2021 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic version update by autodist
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic version update by autodist
* Sun Jul 28 2019 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
- automatic version update by autodist
* Mon Jun 04 2018 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic version update by autodist
* Sat Jan 26 2013 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- update to 0.3.0
* Thu Oct 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.16-3mamba
- rebuilt with xfce 4.10
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 0.2.16-2mamba
- automatic rebuild by autodist
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 0.2.16-1mamba
- update to 0.2.16
* Sat Apr 14 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.2.12-1mamba
- Added dependencies lost
- Rebuild
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.2.12-1qilnx
- update to 0.2.12
* Mon Sep 25 2006 Tiziano Pratellesi <info@mycare.it> 0.2.8-1qilnx
- package created by autospec