Name: code-browser Version: 3.22 Release: 1%{?dist} Summary: Folding text editor License: GPLv2 URL: http://tibleiz.net/code-browser Source0: http://tibleiz.net/download/%{name}-%{version}-src.tar.gz Source1: %{name}.desktop Source2: cb.png BuildRequires: gtk2-devel BuildRequires: desktop-file-utils %description A folding text editor designed to hierachically structure any kind of text. Features: Syntax highlighting for all major languages Text Folding %prep %setup -q %build make %{?_smp_mflags} %install rm -rf %{buildroot} install -d %{buildroot}/%{_bindir} make prefix=/usr install DESTDIR=%{buildroot} desktop-file-install \ --dir=%{buildroot}/%{_datadir}/applications \ %{SOURCE1} install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}.png %files %{_bindir}/code-browser %{_datadir}/code-browser-3/* %{_datadir}/applications/%{name}.desktop %changelog *Tue Jul 19 2011 Nathan Owe 3.22-1 -Initial Release