File xfe.spec of Package xfe

#
# spec file for package xfe (Version 1.32)
#
# Copyright (c) 2008 SOAD Project, Russia.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments to Maintainer: sda00@himki.net
#

# norootforbuild

Name: 	xfe
Version:	1.32
Summary:  X File Explorer (Xfe) is a file manager for X
Release: 	SOAD.1
License: 	GPL
Group: 	Productivity/File utilities
Requires: 	fox16 libpng bzip2 file gzip tar unzip zip
BuildRequires: 	fox16-devel xorg-x11-Mesa-devel xorg-x11-devel xorg-x11-libs fox16 p7zip
BuildRequires: 	libpng libpng-devel >= 1.2  bzip2 cups-devel gcc gcc-c++ libjpeg-devel libtiff-devel make zlib-devel update-desktop-files cups-devel cups-libs fdupes intltool
Source: 	%{name}-%{version}.tar.gz
Packager: 	SOAD maintainer: sda00 <sda00@himki.net>
BuildRoot: 	%{_tmppath}/%{name}-%{version}-buildroot

%if %suse_version > 1100
BuildRequires:  -post-build-checks -brp-check-suse
%endif

%description
X File Explorer (Xfe) is a filemanager for X. It is based on the popular 
X Win Commander, which is discontinued. Xfe is desktop independent 
and is written with the C++ Fox Toolkit. It has Windows Commander 
or MS-Explorer look and is very fast and simple. The main features 
are: file associations, mount/umount devices, directory tree for quick 
cd, change file attributes, auto save registry, compressed archives 
view/creation/extraction and much more.

Authors:
--------
    Roland Baudin <roland65@free.fr>

%prep
%setup -q
%{?suse_update_config:%{suse_update_config -f}} 

%build
%configure --with-included-gettext --enable-release  --with-static=no
make


%install
rm -rf %{buildroot}
%makeinstall
find $RPM_BUILD_ROOT/ -type f  -iname '*.la' -exec rm {} \;
find $RPM_BUILD_ROOT/ -type f  -iname '*.a' -exec rm {} \;
## find $RPM_BUILD_ROOT/ -type f -perm 755  -exec strip -s {} \;

if [ -f %{buildroot}%{_datadir}/locale/locale.alias ]; then
	rm %{buildroot}%{_datadir}/locale/locale.alias
fi

if [ -e $RPM_BUILD_ROOT%{_datadir}/locale/no ] ; then
	rm -rf  $RPM_BUILD_ROOT%{_datadir}/locale/no
fi
%find_lang %{name}

%clean
rm -rf %{buildroot}

%post

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS COPYING README TODO BUGS
%attr(755,root,root) %{_bindir}/*
%{_datadir}/xfe/icons/*
%{_datadir}/xfe/xferc
%{_datadir}/pixmaps/*
%{_mandir}/man1/*
%{_datadir}/xfe/icons
%{_datadir}/xfe
%{_datadir}/applications/*

%changelog
* Thu Dec  11 2008  adopted for openSUSE_11.1
* Fri Aug   1 2008  build for SOAD project of 1.19.2 version<sda00@himki.net>
* Thu Jul   3 2008  build for SOAD project of 1.19.1 version<sda00@himki.net>
* Tue Jun  24 2008  build for SOAD project of 1.19 version<sda00@himki.net>
* Thu May   1 2008  first build for SOAD project <sda00@himki.net>
- Added strip to all binaries.
- Adopted for SOAD/SuSE.

* Tue Feb  13 2007 Roland Baudin <roland65@free.fr>
- Fixed again the location of the config file xferc

* Tue Feb  6 2007 Roland Baudin <roland65@free.fr>
- Rebuild for Fedora Core 6
- Fixed the location of the config file xferc

* Thu Nov 23 2006 Roland Baudin <roland65@free.fr>
- Added configure --enable-release option

* Wed Oct 11 2006 Roland Baudin <roland65@free.fr>
- FOX 1.6.x support
- Removed the static build option

* Tue Jun 21 2005 Roland Baudin <roland65@free.fr>
- FOX 1.4.x support.

* Tue Aug 3 2004 Andrzej Stypula <andrzej@altair.krakow.pl>
- locale adjustment

* Thu Jul 29 2004 Andrzej Stypula <andrzej@altair.krakow.pl>
- file permissions adjustment

* Thu Jul 29 2004 Roland Baudin <roland65@free.fr>
- FOX 1.2.x support.

* Fri Dec 19 2003 Roland Baudin <roland65@free.fr>
- Rebuild for Fedora Core 1.

* Mon Oct 8 2003 Roland Baudin <roland65@free.fr>
- Add of libPNG requirements.

* Mon Sep 8 2003 Roland Baudin <roland65@free.fr>
- Spec file for RedHat 9.

* Fri Jul 18 2003 Roland Baudin <roland65@free.fr>
- Add of the man pages and fix of the locale.alias problem.

* Mon Apr 14 2003 Roland Baudin <roland65@free.fr>
- Fixed the Xfe icon destination.
 
* Fri Apr 11 2003 Roland Baudin <roland65@free.fr>
- Add of i18n.

* Tue Jan 28 2003 Roland Baudin <roland65@free.fr>
- Add of the '--with-static' build option.

* Thu Oct 15 2002 Roland Baudin <roland65@free.fr>
- First release of the spec file for RedHat 7.3.

openSUSE Build Service is sponsored by