From fd599b936b79c37504625ae7cbc307a6065b9816 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:15:10 +0100 Subject: [PATCH] update to 0.3.0 [release 0.3.0-1mamba;Sat Jan 26 2013] --- README.md | 2 + mousepad.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 mousepad.spec diff --git a/README.md b/README.md index 51fdf3c..f32b5d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # mousepad +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. + diff --git a/mousepad.spec b/mousepad.spec new file mode 100644 index 0000000..9f154b5 --- /dev/null +++ b/mousepad.spec @@ -0,0 +1,104 @@ +%define xfce_ver %(pkg-config libxfcegui4-1.0 --modversion) +%define majver %(echo %version | cut -d. -f1-2) +Name: mousepad +Version: 0.3.0 +Release: 1mamba +Summary: A simple text editor for Xfce +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} +%makeinstall + +%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 +%defattr(-,root,root) +%{_bindir}/ +%{_datadir}/ +%doc AUTHORS COPYING ChangeLog NEWS README TODO + +%changelog +* Sat Jan 26 2013 Automatic Build System 0.3.0-1mamba +- update to 0.3.0 + +* Thu Oct 25 2012 Silvan Calarco 0.2.16-3mamba +- rebuilt with xfce 4.10 + +* Fri May 29 2009 Automatic Build System 0.2.16-2mamba +- automatic rebuild by autodist + +* Fri May 29 2009 Automatic Build System 0.2.16-1mamba +- update to 0.2.16 + +* Sat Apr 14 2007 Tiziano Pratellesi 0.2.12-1mamba +- Added dependencies lost +- Rebuild + +* Thu Mar 22 2007 Tiziano Pratellesi 0.2.12-1qilnx +- update to 0.2.12 + +* Mon Sep 25 2006 Tiziano Pratellesi 0.2.8-1qilnx +- package created by autospec