Name: erwin
Summary: simple html editor
Version: 0.8
Release: 1
License: GPL2
Group: Applications/Editors
Source: http://lisas.de/erwin/erwin-%{version}.tar.gz
URL: http://lisas.de/erwin/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: gtksourceview-devel, gtkhtml2-devel
%description
erwin is a really simple html editor
%prep
%setup -q
%configure
%build
make %{?_smp_mflags}
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
desktop-file-install --vendor erwin --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Application \
--add-category Utility \
--add-category TextEditor \
erwin.desktop
%files
%defattr(644,root,root,755)
%doc AUTHORS README COPYING TODO THANKS ChangeLog
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.xpm
%{_mandir}/man1/*
%{_datadir}/applications/%{name}.desktop
%attr(755,root,root)%{_bindir}/erwin
%changelog
* Sat Jul 03 2004 Adrian Reber
- initial spec file