2007-01-16 00:07:49 +01:00
|
|
|
#
|
2012-01-20 22:06:48 +01:00
|
|
|
# spec file for package compface
|
2007-01-16 00:07:49 +01:00
|
|
|
#
|
2012-01-20 22:06:48 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:07:49 +01:00
|
|
|
#
|
2009-06-17 19:19:49 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:07:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: compface
|
|
|
|
Summary: 48x48x1 Image Compression and Decompression
|
|
|
|
Version: 1.5.2
|
2012-01-20 22:06:48 +01:00
|
|
|
Release: 0
|
2007-01-16 00:07:49 +01:00
|
|
|
Group: Productivity/Graphics/Convertors
|
2010-01-14 16:47:29 +01:00
|
|
|
License: PERMISSIVE-OSI-COMPLIANT
|
2007-01-16 00:07:49 +01:00
|
|
|
Source: http://ftp.xemacs.org/pub/xemacs/aux/compface-%{version}.tar.gz
|
|
|
|
Source1: xbm2face
|
|
|
|
Patch: compface-%{version}.diff
|
2012-01-20 22:06:48 +01:00
|
|
|
BuildRequires: automake
|
2007-01-16 00:07:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The programs compface and uncompface convert 48x48x1 images to and from
|
|
|
|
a compressed format. The purpose of the programs is to allow the
|
|
|
|
inclusion of face images within mail headers using the field name
|
|
|
|
"X-face:". They make use of a library that allows the compression and
|
|
|
|
decompression algorithms to be used in other programs, such as mail
|
|
|
|
dispatchers and mail notification daemons.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
James Ashton <jaa@cs.su.oz.au>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC" INSTALL="install -D" \
|
|
|
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
2010-01-14 16:47:29 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-16 00:07:49 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|
|
|
LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
|
|
|
|
MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
|
|
|
sed -i 's/\r//' xbm2xface.pl
|
|
|
|
install -m 755 xbm2xface.pl $RPM_BUILD_ROOT%{_prefix}/bin/xbm2xface
|
|
|
|
install -m 755 $RPM_SOURCE_DIR/xbm2face $RPM_BUILD_ROOT%{_prefix}/bin
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc README
|
|
|
|
%{_prefix}/bin/*
|
|
|
|
%{_prefix}/include/*
|
|
|
|
%{_libdir}/lib*
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
2009-06-17 19:19:49 +02:00
|
|
|
%changelog
|