auto-import changelog data from file-3.30-7j1.src.rpm
Wed Aug 30 2000 ISHIKAWA Mutsumi <ishikawa@redhat.com> - applied a patch to detect japanese, from RH6.2J. - ja patch: fixed patching to Makefile.in - ja patch: changed the patch to be able to build in 3.30. - Spefial Thanks for Masato Taruishi <taru@debian.org>
This commit is contained in:
parent
df0d3de0a9
commit
6add8d65ae
@ -1 +1,2 @@
|
||||
file-3.30.tar.gz
|
||||
file-jman19991015.tar.gz
|
||||
|
||||
26
file.spec
26
file.spec
@ -1,16 +1,23 @@
|
||||
%define enable_japanese 1
|
||||
|
||||
Summary: A utility for determining file types.
|
||||
Name: file
|
||||
Version: 3.30
|
||||
Release: 7
|
||||
Release: 7j1
|
||||
Copyright: distributable
|
||||
Group: Applications/File
|
||||
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
|
||||
Source1: magic.mime
|
||||
# Japanese Source
|
||||
Source10: file-jman19991015.tar.gz
|
||||
Patch0: file-3.27-rh.patch
|
||||
Patch1: file-3.28-ia64.patch
|
||||
Patch2: file-3.30-magic5.patch
|
||||
Patch3: file-3.30-fnovfl.patch
|
||||
Patch4: file-3.30-test.patch
|
||||
# Japanese patch
|
||||
Patch10: file-3.30-jtext.patch
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
@ -30,6 +37,9 @@ useful utility.
|
||||
%patch2 -p1 -b .magic5
|
||||
%patch3 -p1 -b .fnovfl
|
||||
%patch4 -p1 -b .test
|
||||
%if %{enable_japanese}
|
||||
%patch10 -p1 -b .jp1
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
||||
@ -41,6 +51,7 @@ make
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/ja/man1
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}
|
||||
|
||||
@ -51,6 +62,12 @@ mkdir -p ${RPM_BUILD_ROOT}%{_datadir}
|
||||
cp %SOURCE1 .%{_datadir}/magic.mime
|
||||
}
|
||||
|
||||
%if %{enable_japanese}
|
||||
{ cd $RPM_BUILD_ROOT%{_mandir}/ja
|
||||
tar zxvf %SOURCE10
|
||||
}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -59,8 +76,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/*
|
||||
%{_datadir}/magic*
|
||||
%{_mandir}/man*/*
|
||||
%{_mandir}/ja/*/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 30 2000 ISHIKAWA Mutsumi <ishikawa@redhat.com>
|
||||
- applied a patch to detect japanese, from RH6.2J.
|
||||
- ja patch: fixed patching to Makefile.in
|
||||
- ja patch: changed the patch to be able to build in 3.30.
|
||||
- Spefial Thanks for Masato Taruishi <taru@debian.org>
|
||||
|
||||
* Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
|
||||
- Bill made the patch but didn't apply it. :)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user