mousepad/mousepad.spec

126 lines
3.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.5.1
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: http://www.xfce.org/
Source: http://archive.xfce.org/src/apps/mousepad/%{majver}/mousepad-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libICE-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxfcegui4-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
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
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/mousepad.desktop
%{_datadir}/metainfo/mousepad.appdata.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
* 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