mousepad/mousepad.spec

108 lines
3.2 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.4.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: 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
* 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