cvsdist 2cd8ba1
Name:		kcc
cvsdist 2cd8ba1
Version:	2.3
8420a75
Release:	35
ac05100
License:	GPLv2+
ac05100
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist a7c80fc
03b31e0
## missed upstream.
ac05100
Source:		ftp://ftp.sra.co.jp/pub/os/linux/JE/sources/base/%{name}.tar.gz
cvsdist e44dea4
Source1:	kcc.1
cvsdist 2cd8ba1
Patch0:		kcc-2.3-dontstrip.patch
cvsdist 853d276
Patch1:		kcc-2.3-varargs.patch
cvsdist e44dea4
Patch2:		kcc-2.3-fix-segv.patch
03b31e0
Patch3:		kcc-2.3-timestamp.patch
cvsdist 2cd8ba1
cvsdist 2cd8ba1
Summary:	Kanji Code Converter
cvsdist 2cd8ba1
Group:		Applications/Text
cvsdist a7c80fc
%description
cvsdist a7c80fc
kcc is a kanji code converter with an auto detection.
cvsdist a7c80fc
cvsdist a7c80fc
%prep
cvsdist a7c80fc
%setup -q -n %{name}
cvsdist 2cd8ba1
%patch0 -p1 -b .dontstrip
cvsdist 853d276
%patch1 -p1 -b .varargs
cvsdist e44dea4
%patch2 -p1 -b .segv
03b31e0
%patch3 -p1 -b .timestamp
cvsdist a7c80fc
cvsdist a7c80fc
%build
cvsdist 2cd8ba1
make "CFLAGS=$RPM_OPT_FLAGS"
cvsdist a7c80fc
cvsdist a7c80fc
%install
ac05100
rm -rf $RPM_BUILD_ROOT
cvsdist 2cd8ba1
cvsdist 2cd8ba1
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cvsdist 2cd8ba1
mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man1
cvsdist e44dea4
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
cvsdist 2cd8ba1
make BINPATH="$RPM_BUILD_ROOT%{_bindir}" install 
cvsdist 2cd8ba1
make MANPATH="$RPM_BUILD_ROOT%{_mandir}" JMANDIR="ja" install.man
cvsdist 853d276
for i in `find $RPM_BUILD_ROOT%{_mandir}/ja -type f`; do
cvsdist 853d276
	iconv -f euc-jp -t utf-8 $i > $i.new && mv -f $i.new $i && chmod 444 $i
cvsdist 853d276
done
03b31e0
install -m0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/
cvsdist e44dea4
gzip -9 $RPM_BUILD_ROOT%{_mandir}/man1/kcc.1
cvsdist a7c80fc
cvsdist a7c80fc
%clean
ac05100
rm -rf $RPM_BUILD_ROOT
cvsdist a7c80fc
cvsdist a7c80fc
%files
7410432
%defattr(-,root,root,-)
cvsdist a7c80fc
%doc COPYING README 
cvsdist 2cd8ba1
%{_bindir}/kcc
cvsdist e44dea4
%lang(ja) %{_mandir}/ja/man1/kcc.1*
cvsdist e44dea4
%{_mandir}/man1/kcc.1*
cvsdist a7c80fc
cvsdist a7c80fc
%changelog
8420a75
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-35
8420a75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8420a75
a45718a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-34
a45718a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a45718a
ece0f27
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-33
ece0f27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ece0f27
09bc018
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-32
09bc018
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
09bc018
db2ca50
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-31
db2ca50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
db2ca50
26c2b54
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-30
26c2b54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
26c2b54
701975b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-29
701975b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
701975b
eaf3749
* Tue Feb 12 2008 Akira TAGOH <tagoh@redhat.com> - 2.3-28
eaf3749
- Rebuild for gcc-4.3.
eaf3749
03b31e0
* Fri Sep 21 2007 Akira TAGOH <tagoh@redhat.com> - 2.3-27
03b31e0
- clean up the spec file.
03b31e0
8530be5
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 2.3-26
8530be5
- Rebuild
8530be5
ac05100
* Wed Aug  8 2007 Akira TAGOH <tagoh@redhat.com> - 2.3-25
ac05100
- Update License tag.
ac05100
- clean up the spec file.
ac05100
0e820f1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-24.2.2
0e820f1
- rebuild
0e820f1
28b1756
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.3-24.2.1
28b1756
- bump again for double-long bug on ppc(64)
28b1756
965ff57
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.3-24.2
965ff57
- rebuilt for new gcc4.1 snapshot and glibc changes
965ff57
77dc4a3
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
77dc4a3
- rebuilt
77dc4a3
012ab03
* Thu Mar 17 2005 Akira TAGOH <tagoh@redhat.com> - 2.3-24
012ab03
- rebuilt
012ab03
279d7e1
* Thu Feb 10 2005 Akira TAGOH <tagoh@redhat.com> - 2.3-23
279d7e1
- rebuilt
279d7e1
cvsdist e44dea4
* Tue Jun 22 2004 Akira TAGOH <tagoh@redhat.com> 2.3-22
cvsdist e44dea4
- kcc-2.3-fix-segv.patch: applied to fix segfaults with invalid options. (#126338)
cvsdist e44dea4
- add kcc.1 from Debian package.
cvsdist e44dea4
cvsdist bc4a2f4
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist bc4a2f4
- rebuilt
cvsdist bc4a2f4
cvsdist c66bdb8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c66bdb8
- rebuilt
cvsdist c66bdb8
cvsdist 853d276
* Tue Sep 30 2003 Akira TAGOH <tagoh@redhat.com> 2.3-19
cvsdist 853d276
- converted Japanese manpage to UTF-8.
cvsdist 853d276
cvsdist 853d276
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 853d276
- rebuilt
cvsdist 853d276
cvsdist 853d276
* Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 2.3-17
cvsdist 853d276
- gcc 3.3 doesn't implement varargs.h, include stdarg.h instead
cvsdist 853d276
cvsdist 22248ef
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 22248ef
- rebuilt
cvsdist 22248ef
cvsdist 22248ef
* Wed Nov 13 2002 Akira TAGOH <tagoh@redhat.com> 2.3-15
cvsdist 22248ef
- rebuild.
cvsdist 22248ef
cvsdist 7986244
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 7986244
- automated rebuild
cvsdist 7986244
cvsdist 2cd8ba1
* Tue Jun 18 2002 Akira TAGOH <tagoh@redhat.com>
cvsdist 2cd8ba1
- clean up a spec.
cvsdist 2cd8ba1
- s/Copyright/License/
cvsdist 2cd8ba1
- kcc-2.3-dontstrip.patch: fix the stripped binary.
cvsdist 2cd8ba1
cvsdist 2cd8ba1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 2cd8ba1
- automated rebuild
cvsdist 2cd8ba1
cvsdist 2cd8ba1
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 2cd8ba1
- automated rebuild
cvsdist 2cd8ba1
cvsdist 381c396
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 381c396
- Bump release + rebuild.
cvsdist 381c396
cvsdist 1ef194e
* Tue Dec 19 2000 Akira Tagoh <tagoh@redhat.com>
cvsdist 1ef194e
- rebuild for 7.1
cvsdist 1ef194e
cvsdist a7c80fc
* Mon Sep 11 2000 Matt Wilson <msw@redhat.com>
cvsdist a7c80fc
- added %%defattr(-,root,root)
cvsdist a7c80fc
cvsdist a7c80fc
* Fri Aug  4 2000 ISHIKAWA Mutsumi <ishikawa@redhat.com>
cvsdist a7c80fc
- built for RedHat 7.0
cvsdist a7c80fc
- adopt fhs
cvsdist a7c80fc
cvsdist a7c80fc
* Sun Mar 26 2000 Chris Ding <cding@redhat.com>
cvsdist a7c80fc
- ja -> ja_JP.eucJP
cvsdist a7c80fc
cvsdist a7c80fc
* Tue Mar 21 2000 Chris Ding <cding@redhat.com>
cvsdist a7c80fc
- ja_JP.eucJP -> ja
cvsdist a7c80fc
cvsdist a7c80fc
* Wed Mar 15 2000 Matt Wilson <msw@redhat.com>
cvsdist a7c80fc
- rebuild for 6.2j
cvsdist a7c80fc
- gzip man pages
cvsdist a7c80fc
cvsdist a7c80fc
* Tue Feb 29 2000 Chris Ding <cding@redhat.com>
cvsdist a7c80fc
- ja_JP.ujis -> ja_JP.eucJP
cvsdist a7c80fc
cvsdist a7c80fc
* Thu Oct  7 1999 Matt Wilson <msw@redhat.com>
cvsdist a7c80fc
- rebuilt against 6.1
cvsdist a7c80fc
cvsdist a7c80fc
* Sun May 30 1999 FURUSAWA,Kazuhisa <kazu@linux.or.jp>
cvsdist a7c80fc
- 1st Release for i386 (glibc2.1).
cvsdist a7c80fc
- Original Packager: Atsushi Yamagata <yamagata@plathome.co.jp>
cvsdist a7c80fc
cvsdist a7c80fc
* Wed Jan 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
cvsdist a7c80fc
- version up to 2.3
cvsdist a7c80fc
- /usr/local -> /usr
cvsdist a7c80fc
- Extensions/Japanese -> Utilities/Text
cvsdist a7c80fc
cvsdist a7c80fc
* Fri May  1 1998 FURUSAWA,Kazuhisa <kazu_f@big.or.jp>
cvsdist a7c80fc
- 9th release