Please find flaws and mistakes in the peless spec file for opensuse below:
peless is ready to be translated, but currently has 0 translations. The
build procedure creates a desktop file.
How can I get peless into OpenSuSE?
-------------------cut here with a chainsaw--------------------
# norootforbuild
%define _prefix /opt/gnome
Name: peless
Summary: Tabbed text browser
Version: 1.156
Release: 19%{?dist}
License: GPL
Group: Productivity/Text/Utilities
Source0: http://download.berlios.de/peless/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Packager: https://developer.berlios.de/projects/peless/
URL: https://developer.berlios.de/projects/peless/
Autoreqprov: on
%{?suse_update_config:BuildRequires:autoconf automake libtool}
BuildRequires: gtkmm24-devel, gconfmm-devel, boost-devel = 1.33.1, libsigc++2-devel, gettext, intltool, gcc-c++
%description
Peless is a simple text file lister. It only displays files and
never modifies them. It can display multiple files using a tabbed notebook,
display international characters, and search the files for regular expressions
or literal expressions. Users can choose the fonts used to display files.
%prep
%setup -q
%{?suse_update_libdir:%{suse_update_libdir}}
%{?suse_update_config:%{suse_update_config -f}}
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
PKG_CONFIG_PATH=%{_prefix}/%{_lib}/pkgconfig:%{_prefix}/share/pkgconfig \
%configure --prefix=%{_prefix} --with-boost=/usr \
--with-dtcat=%{?DTCAT:%{DTCAT}}%{!?DTCAT:'Application;Utility;'}
CCFLAGS=$RPM_OPT_FLAGS \
PKG_CONFIG_PATH=%{_prefix}/%{_lib}/pkgconfig:%{_prefix}/share/pkgconfig \
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install-strip
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README INTERNATIONALIZATION
%{_bindir}/peless
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/pixmaps/%{name}.xpm
%_mandir/man1/peless.1.*
%changelog
* Fri Aug 31 2007 Paul Elliott