|
cvsextras |
cf21369 |
Name: compface
|
|
|
548cd90 |
Version: 1.5.2
|
|
|
cca9058 |
Release: 5%{?dist}
|
|
|
548cd90 |
Summary: Utilities for handling X-Faces
|
|
cvsextras |
cf21369 |
|
|
|
548cd90 |
Group: Applications/Multimedia
|
|
cvsextras |
cf21369 |
License: MIT
|
|
|
d08c817 |
URL: http://ftp.xemacs.org/pub/xemacs/aux/
|
|
|
548cd90 |
Source0: http://ftp.xemacs.org/pub/xemacs/aux/%{name}-%{version}.tar.gz
|
|
|
a1d9494 |
Source1: compface-test.xbm
|
|
|
3f050a2 |
Source2: compface-README.copyright
|
|
|
548cd90 |
Patch0: http://ftp.debian.org/debian/pool/main/libc/libcompface/libcompface_1.5.2-3.diff.gz
|
|
|
a1d9494 |
Patch1: compface-1.5.2-stack-smashing.patch
|
|
|
a1d9494 |
Patch2: %{name}-1.5.2-build.patch
|
|
cvsextras |
cf21369 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
a1d9494 |
BuildRequires: diffutils
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%description
|
|
|
d08c817 |
Compface is a filter for generating highly compressed representations
|
|
|
d08c817 |
of 48x48x1 face image files, which can be used in mail clients and mail
|
|
|
d08c817 |
notification programs. Uncompface is an inverse filter, which performs
|
|
|
d08c817 |
an inverse transformation with no loss of data.
|
|
|
d08c817 |
|
|
|
548cd90 |
|
|
|
548cd90 |
%package devel
|
|
|
d08c817 |
Summary: Development files for handling X-Faces
|
|
|
548cd90 |
Group: Development/Libraries
|
|
|
548cd90 |
Requires: %{name} = %{version}-%{release}
|
|
|
548cd90 |
|
|
|
548cd90 |
%description devel
|
|
|
548cd90 |
%{summary}.
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%prep
|
|
cvsextras |
cf21369 |
%setup -q
|
|
|
548cd90 |
%patch0 -p1
|
|
|
a1d9494 |
%patch1 -p1 -b .stack-smashing
|
|
|
a1d9494 |
%patch2 -p0
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%build
|
|
|
548cd90 |
CFLAGS="$RPM_OPT_FLAGS -fPIC" %configure
|
|
cvsextras |
cf21369 |
make %{?_smp_mflags}
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%install
|
|
cvsextras |
cf21369 |
rm -rf $RPM_BUILD_ROOT
|
|
|
548cd90 |
make install DESTDIR=$RPM_BUILD_ROOT STRIP=/bin/true
|
|
|
3f050a2 |
mkdir -p _extdoc && install -p -m 0644 %{SOURCE2} _extdoc/README.copyright
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
|
a1d9494 |
%check || :
|
|
|
a1d9494 |
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH
|
|
|
a1d9494 |
./compface %{SOURCE1} | ./uncompface -X > __test.xbm
|
|
|
a1d9494 |
cmp %{SOURCE1} __test.xbm
|
|
|
a1d9494 |
|
|
|
a1d9494 |
|
|
cvsextras |
cf21369 |
%clean
|
|
cvsextras |
cf21369 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
|
548cd90 |
%post -p /sbin/ldconfig
|
|
|
548cd90 |
|
|
|
548cd90 |
%postun -p /sbin/ldconfig
|
|
|
548cd90 |
|
|
|
548cd90 |
|
|
cvsextras |
cf21369 |
%files
|
|
cvsextras |
cf21369 |
%defattr(-,root,root,-)
|
|
|
548cd90 |
%doc ChangeLog README xbm2xface.pl
|
|
|
3f050a2 |
%doc _extdoc/README.copyright
|
|
|
548cd90 |
%{_bindir}/compface
|
|
|
548cd90 |
%{_bindir}/uncompface
|
|
|
548cd90 |
%{_libdir}/libcompface.so.*
|
|
|
548cd90 |
%{_mandir}/man1/compface.1*
|
|
|
548cd90 |
%{_mandir}/man1/uncompface.1*
|
|
|
548cd90 |
|
|
|
548cd90 |
%files devel
|
|
|
548cd90 |
%defattr(-,root,root,-)
|
|
|
d4931d6 |
%{_includedir}/compface.h
|
|
|
548cd90 |
%{_libdir}/libcompface.so
|
|
|
548cd90 |
%{_mandir}/man3/compface.3*
|
|
|
548cd90 |
%{_mandir}/man3/uncompface.3*
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%changelog
|
|
|
d08c817 |
* Thu Jan 4 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.5.2-5
|
|
|
d08c817 |
- rebuilt
|
|
|
d08c817 |
- Update summaries and url.
|
|
|
d08c817 |
|
|
|
d08c817 |
* Mon Aug 28 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.5.2-4
|
|
|
a14e61c |
- rebuilt
|
|
|
a14e61c |
|
|
|
3f050a2 |
* Sat Aug 5 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.5.2-3
|
|
|
3f050a2 |
- Add licence terms clarification from Debian's patch.
|
|
|
3f050a2 |
|
|
|
a1d9494 |
* Fri Aug 4 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.5.2-2
|
|
|
a1d9494 |
- Add patch to prevent sscanf stack smashing through Debian's patch.
|
|
|
a1d9494 |
- Fix two GCC warnings in the same patch.
|
|
|
a1d9494 |
- Add one test to the %%check section and BR diffutils.
|
|
|
a1d9494 |
|
|
|
548cd90 |
* Wed Aug 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.5.2-1
|
|
|
548cd90 |
- Update to 1.5.2, apply Debian's 1.5.2-3 patchset.
|
|
|
548cd90 |
- Crudely patch to build a shared lib (inspired by Debian), drop static one.
|
|
|
548cd90 |
- Split -devel subpackage.
|
|
|
548cd90 |
|
|
|
2806ffa |
* Mon Jul 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4-7
|
|
|
2806ffa |
- Ensure proper doc file permissions.
|
|
|
2806ffa |
|
|
|
94448c7 |
* Mon Feb 13 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4-6
|
|
|
94448c7 |
- Rebuild.
|
|
|
94448c7 |
|
|
|
94448c7 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.4-5
|
|
|
5651f05 |
- rebuilt
|
|
|
5651f05 |
|
|
|
d4931d6 |
* Fri Dec 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.4-4
|
|
|
d4931d6 |
- Let rpmbuild take care of stripping binaries.
|
|
|
d4931d6 |
|
|
cvsextras |
cf21369 |
* Fri May 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.4-0.fdr.3
|
|
cvsextras |
cf21369 |
- Add URL, other minor specfile tweaks (#63).
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
* Sat May 3 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.4-0.fdr.2
|
|
cvsextras |
cf21369 |
- Fix build on RH9 (#63).
|
|
cvsextras |
cf21369 |
- Save .spec in UTF-8.
|
|
cvsextras |
cf21369 |
- Provide -devel to ease possible future 'shared lib'ification.
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.4-0.fdr.1
|
|
cvsextras |
cf21369 |
- Update to current Fedora guidelines.
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
* Fri Feb 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 1.4-1.fedora.1
|
|
cvsextras |
cf21369 |
- First Fedora release.
|