leafpad/leafpad.spec

65 lines
1.7 KiB
RPMSpec

Name: leafpad
Version: 0.8.18.1
Release: 1mamba
Summary: GTK+2 based notepad clone
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://tarot.freeshell.org/leafpad/
Source: http://savannah.nongnu.org/download/leafpad/leafpad-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
%description
Leafpad is a simple GTK+ based text editor.
The user interface is similar to "notepad", and it aims to be lighter than GEdit and KWrite and to be as useful as them.
%prep
%setup -q
%build
%configure --enable-chooser
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot}
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/pixmaps/*
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/applications/%{name}.desktop
%changelog
* Sat Jun 18 2011 Automatic Build System <autodist@mambasoft.it> 0.8.18.1-1mamba
- automatic update by autodist
* Thu Jan 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.18-1mamba
- update to 0.8.18
- fixed group
* Fri Jan 15 2010 Fabio Giani <fabio.giani@gmail.com> 0.8.17-1mamba
- package created by autospec