|
cvsextras |
cf21369 |
Name: compface
|
|
|
548cd90 |
Version: 1.5.2
|
|
|
90e3802 |
Release: 12
|
|
|
8163f43 |
Summary: Library and tools for handling X-Face data
|
|
cvsextras |
cf21369 |
|
|
|
8163f43 |
Group: System Environment/Libraries
|
|
cvsextras |
cf21369 |
License: MIT
|
|
|
2ffae68 |
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
|
|
|
8163f43 |
# originally from http://ftp.debian.org/debian/pool/main/libc/libcompface/libcompface_1.5.2-4.diff.gz
|
|
|
8163f43 |
Patch0: libcompface_1.5.2-4.diff.gz
|
|
|
a1d9494 |
Patch1: compface-1.5.2-stack-smashing.patch
|
|
|
8163f43 |
Patch2: compface-1.5.2-build.patch
|
|
cvsextras |
cf21369 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
a1d9494 |
BuildRequires: diffutils
|
|
cvsextras |
cf21369 |
|
|
cvsextras |
cf21369 |
%description
|
|
|
8163f43 |
This is the Compface image compression and decompression library and its
|
|
|
8163f43 |
user tools. Compface converts 48x48 .xbm format (X bitmap) images to a
|
|
|
8163f43 |
compressed format that can be placed in the X-Face: mail header. Some mail
|
|
|
8163f43 |
programs are able to display such images when opening messages.
|
|
|
548cd90 |
|
|
|
548cd90 |
%package devel
|
|
|
8163f43 |
Summary: Library and development files for handling X-Face data
|
|
|
548cd90 |
Group: Development/Libraries
|
|
|
548cd90 |
Requires: %{name} = %{version}-%{release}
|
|
|
548cd90 |
|
|
|
548cd90 |
%description devel
|
|
|
8163f43 |
These files are needed when building software that uses the Compface
|
|
|
8163f43 |
library.
|
|
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 |
|
|
|
16c572a |
%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
|
|
|
90e3802 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-12
|
|
|
90e3802 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
90e3802 |
|
|
|
9c1be18 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-11
|
|
|
9c1be18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
9c1be18 |
|
|
|
8163f43 |
* Fri May 15 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-10
|
|
|
8163f43 |
- Minor spec updates.
|
|
|
8163f43 |
- Sync with Debian's most recent 1.5.2-4 patchset, although it doesn't
|
|
|
8163f43 |
add anything for us compared with 1.5.2-3.
|
|
|
8163f43 |
|
|
|
057ec91 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-9
|
|
|
057ec91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
057ec91 |
|
|
|
16c572a |
* Sat May 31 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-8
|
|
|
16c572a |
- Drop "|| :" from check section. It failed to build for mdomsch
|
|
|
16c572a |
in Rawhide today.
|
|
|
16c572a |
|
|
|
16c572a |
* Fri Feb 08 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-7
|
|
|
0b0a528 |
- rebuilt for GCC 4.3 as requested by Fedora Release Engineering
|
|
|
0b0a528 |
|
|
|
16c572a |
* Tue Aug 21 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-6
|
|
|
7c3a4b9 |
- rebuilt
|
|
|
7c3a4b9 |
|
|
|
17c5dfd |
* Thu Jan 4 2007 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-5
|
|
|
2ffae68 |
- rebuilt
|
|
|
2ffae68 |
- Update summaries and url.
|
|
|
2ffae68 |
|
|
|
17c5dfd |
* Mon Aug 28 2006 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-4
|
|
|
a14e61c |
- rebuilt
|
|
|
a14e61c |
|
|
|
17c5dfd |
* Sat Aug 5 2006 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-3
|
|
|
3f050a2 |
- Add licence terms clarification from Debian's patch.
|
|
|
3f050a2 |
|
|
|
17c5dfd |
* Fri Aug 4 2006 Michael Schwendt <mschwendt@fedoraproject.org> - 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 |
|
|
|
17c5dfd |
* Fri Apr 7 2005 Michael Schwendt <mschwendt@fedoraproject.org> - 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.
|