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 <[EMAIL PROTECTED]> - 1.156-17
- add intltool, gcc-c++
* Wed Aug 29 2007 Paul Elliott <[EMAIL PROTECTED]> - 1.156-5
- new Summary.
* Sat Aug 25 2007 Paul Elliott <[EMAIL PROTECTED]> - 1.156-3
- reorder changelog
- replace /lib/ by /%{_lib}/
- must use %suse_update_config -f and %suse_update_libdir before configure with
- every package - note that it might break the build of some packages,
- so it must be tested (only remove it if it breaks), like this:
- use # norootforbuild
- group changes from Applications/Text to Productivity/Text/Utilities
- change buildroot to opensuse preference.
- add Autoreqprov: on
* Wed Aug 1 2007 Paul Elliott <[EMAIL PROTECTED]> - 1.156-3
- remove philo.txt from files distributed to end users.
- And use https://developer.berlios.de/projects/peless/ as URL.
* Tue Jul 24 2007 Paul Elliott <[EMAIL PROTECTED]>
- modify spec files on advise of fedora people.
* Sun May 27 2007 Paul Elliott <[EMAIL PROTECTED]>
- update to satisfy fedora rules.
* Sun Jan 22 2005 D. Scott Barninger <[EMAIL PROTECTED]>
- modify for gwdg.de repository
--
Paul Elliott 1(512)837-1096
[EMAIL PROTECTED] PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/ Austin TX 78758-3117
pgpoXKqgSGHGe.pgp
Description: PGP signature
