This commit is contained in:
parent
013c547b38
commit
778afa213b
20
figlet-licpatch.sh
Normal file
20
figlet-licpatch.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# removes stuff under old Unicode license
|
||||||
|
# $1 is directory with tarballs
|
||||||
|
set -o errexit
|
||||||
|
if test -f "$1/figlet222.tar.bz2" ; then
|
||||||
|
TMPDIR=`mktemp -d`
|
||||||
|
if test -d $TMPDIR ; then
|
||||||
|
trap "rm -rf \"$TMPDIR\" \"$1/figlet222-patched.tar.bz2\"" ERR
|
||||||
|
cd $TMPDIR
|
||||||
|
tar -xjf "$1/figlet222.tar.bz2"
|
||||||
|
rm -f figlet222/fonts/jis0201.flc figlet222/fonts/8859-*.flc
|
||||||
|
tar -cjf "$1/figlet222-patched.tar.bz2" figlet222
|
||||||
|
cd - 1>/dev/null
|
||||||
|
rm -Rf $TMPDIR
|
||||||
|
else
|
||||||
|
echo "creating tmp dir failed"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "file: $1/figlet222.tar.bz2 doesn't exist"
|
||||||
|
fi
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 21 13:39:31 CEST 2007 - pcerny@suse.cz
|
||||||
|
|
||||||
|
- more update due to [#285171]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 18 20:29:51 CEST 2007 - pcerny@suse.cz
|
Mon Jun 18 20:29:51 CEST 2007 - pcerny@suse.cz
|
||||||
|
|
||||||
|
18
figlet.spec
18
figlet.spec
@ -11,19 +11,28 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: figlet
|
Name: figlet
|
||||||
|
# Patched code is built by default.
|
||||||
|
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
|
||||||
URL: http://www.figlet.org/
|
URL: http://www.figlet.org/
|
||||||
License: Other uncritical OpenSource License, Academic Free License version 2.1
|
License: Other uncritical OpenSource License, Academic Free License version 2.1
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 58
|
Release: 59
|
||||||
Summary: Tool for Creating Cool ASCII-Art Signatures
|
Summary: Tool for Creating Cool ASCII-Art Signatures
|
||||||
Source: figlet222.tar.bz2
|
%if 0%{?BUILD_ORIG}
|
||||||
|
Source0: figlet222.tar.bz2
|
||||||
|
%else
|
||||||
|
# WARNING: This is not a comment, but a real command to repack souce:
|
||||||
|
#%(sh %{_sourcedir}/%{name}-licpatch.sh %{_sourcedir})
|
||||||
|
Source0: figlet222-patched.tar.bz2
|
||||||
|
%endif
|
||||||
Source1: contributed.tar.bz2
|
Source1: contributed.tar.bz2
|
||||||
Source2: international.tar.bz2
|
Source2: international.tar.bz2
|
||||||
Source3: ours.tar.bz2
|
Source3: ours.tar.bz2
|
||||||
Source4: figlet222-8859tables.tar.bz2
|
Source4: figlet222-8859tables.tar.bz2
|
||||||
Patch: figlet-config.patch
|
Source5: figlet-licpatch.sh
|
||||||
|
Patch0: figlet-config.patch
|
||||||
Patch1: figlet-random.patch
|
Patch1: figlet-random.patch
|
||||||
Patch2: figlet-implicit.patch
|
Patch2: figlet-implicit.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -47,7 +56,6 @@ Authors:
|
|||||||
%patch
|
%patch
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
rm fonts/jis0201.flc
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS"
|
make CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -70,6 +78,8 @@ rm -rf "%{buildroot}"
|
|||||||
%doc LICENSE CHANGES README FAQ
|
%doc LICENSE CHANGES README FAQ
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 21 2007 - pcerny@suse.cz
|
||||||
|
- more update due to [#285171]
|
||||||
* Mon Jun 18 2007 - pcerny@suse.cz
|
* Mon Jun 18 2007 - pcerny@suse.cz
|
||||||
- updated some files from unicode.org [#285171]
|
- updated some files from unicode.org [#285171]
|
||||||
* Thu Jun 14 2007 - pcerny@suse.cz
|
* Thu Jun 14 2007 - pcerny@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user