Changes of Revision 7
[-] | Added | recode.spec |
x 1
2 +# 3 +# spec file for package recode (Version 3.6) 4 +# 5 +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# 7 +# All modifications and additions to the file contributed by third parties 8 +# remain the property of their copyright owners, unless otherwise agreed 9 +# upon. The license for this file, and modifications and additions to the 10 +# file, is the same license as for the pristine package itself (unless the 11 +# license for the pristine package is not an Open Source License, in which 12 +# case the license is the MIT License). An "Open Source License" is a 13 +# license that conforms to the Open Source Definition (Version 1.9) 14 +# published by the Open Source Initiative. 15 + 16 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 17 +# 18 + 19 +# norootforbuild 20 + 21 + 22 +Name: recode 23 +License: GPL v2 or later; LGPL v2.1 or later 24 +Group: Productivity/Text/Convertors 25 +AutoReqProv: on 26 +# bug437293 27 +%ifarch ppc64 28 +Obsoletes: recode-64bit 29 +%endif 30 +# 31 +Version: 3.6 32 +Release: 639.1 33 +Summary: Character Set Converter 34 +Url: http://recode.progiciels-bpi.ca/ 35 +Source: ftp://ftp.gnu.org/pub/gnu/recode/recode-%{version}.tar.bz2 36 +Source1: cs_recode.po 37 +Patch0: recode-%{version}.patch 38 +Patch1: recode-%{version}-locale.patch 39 +Patch2: recode-%{version}-task.patch 40 +Patch3: recode-%{version}-gettext.patch 41 +Patch4: recode-gcc43.patch 42 +Patch5: recode-%{version}-memleak.patch 43 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 44 +%if 0%{?suse_version} 45 +PreReq: %install_info_prereq 46 +%endif 47 + 48 +%description 49 +This package converts various character sets. 50 + 51 + 52 + 53 +Authors: 54 +-------- 55 + Francois Pinard <pinard@iro.umontreal.ca> 56 + 57 +%package devel 58 +License: LGPL v2.1 or later 59 +Summary: Character Set Converter 60 +Group: Development/Libraries/C and C++ 61 +Requires: %{name} = %{version} 62 +# bug437293 63 +%ifarch ppc64 64 +Obsoletes: recode-devel-64bit 65 +%endif 66 +# 67 + 68 +%description devel 69 +This package converts various character sets. 70 + 71 + 72 + 73 +Authors: 74 +-------- 75 + Francois Pinard <pinard@iro.umontreal.ca> 76 + 77 +%prep 78 +%setup -q 79 +%patch0 80 +%patch1 81 +%patch2 82 +%patch3 83 +%patch4 84 +%patch5 -p1 85 +cp -v %{S:1} i18n/cs.po 86 +rm m4/{lcmessage.m4,libtool.m4} 87 +rm acinclude.m4 88 + 89 +%build 90 +autoreconf -fiv 91 +%configure --with-pic --disable-static --without-included-gettext 92 +%{__make} %{?jobs:-j%jobs} 93 + 94 +%check 95 +make check 96 + 97 +%install 98 +make install DESTDIR=$RPM_BUILD_ROOT 99 +#found empty dependency_libs variable. please remove 100 +rm -f %{buildroot}%{_libdir}/librecode.la 101 +%find_lang %{name} 102 + 103 +%clean 104 +rm -rf $RPM_BUILD_ROOT 105 + 106 +%post 107 +%if 0%{?suse_version} 108 +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz 109 +%endif 110 +/sbin/ldconfig 111 + 112 +%postun 113 +%if 0%{?suse_version} 114 +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz 115 +%endif 116 +/sbin/ldconfig 117 + 118 +%files -f %{name}.lang 119 +%defattr(-,root,root) 120 +%doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB NEWS README THANKS TODO ChangeLog 121 +%{_mandir}/man1/* 122 +%{_infodir}/recode* 123 +%{_bindir}/recode 124 +%{_libdir}/librecode.so.* 125 + 126 +%files devel 127 +%defattr(-,root,root) 128 +%{_includedir}/*.h 129 +%{_libdir}/librecode.so 130 + 131 +%changelog 132 +* Wed Jan 7 2009 olh@suse.de 133 +- obsolete old -XXbit packages (bnc#437293) 134 +* Tue Nov 11 2008 ro@suse.de 135 +- SLE-11 uses PPC64 instead of PPC, adapt baselibs.conf 136 +* Wed Sep 3 2008 crrodriguez@suse.de 137 +- disable static libraries 138 +* Thu Apr 10 2008 ro@suse.de 139 +- added baselibs.conf file to build xxbit packages 140 + for multilib support 141 +* Wed Mar 12 2008 schwab@suse.de 142 +- Fix memory leak. 143 +* Thu Feb 21 2008 crrodriguez@suse.de 144 +- remove librecode.la that has empty dependency_libs 145 +- use find_lang macro 146 +* Tue Oct 23 2007 meissner@suse.de 147 +- fixed gcc 4.3 problem 148 +* Wed Jan 25 2006 mls@suse.de 149 +- converted neededforbuild to BuildRequires 150 +* Tue Apr 12 2005 ro@suse.de 151 +- fix build with current gettext 152 +* Sat Jan 10 2004 adrian@suse.de 153 +- add %%defattr 154 +* Thu Apr 24 2003 ro@suse.de 155 +- fix install_info --delete call and move from preun to postun 156 +* Thu Feb 13 2003 mmj@suse.de 157 +- Use %%install_info macro [#23453] 158 +* Fri Aug 30 2002 pmladek@suse.cz 159 +- fixed dependency of the devel subpackage on the main package (used %%version) 160 +- aplied Debian's patch which fixes recode_buffer_to_buffer which failed 161 + for certain 1-step recodes [#11503] 162 +* Sun Jul 28 2002 kukuk@suse.de 163 +- remove unused diffutils from neededforbuild 164 +* Fri Mar 29 2002 pmladek@suse.cz 165 +- fixed to compile with autoconf-2.53 166 +* Tue Feb 5 2002 rvasice@suse.cz 167 +- fix locale bug #12817 168 +* Fri Jan 11 2002 schwab@suse.de 169 +- Use gettext from libc. 170 +* Mon Oct 8 2001 schwab@suse.de 171 +- Fix infinite loop in iconv wrapper. 172 +- Reenable testsuite on all architectures. 173 +* Mon Oct 8 2001 schwab@suse.de 174 +- Fix bounds computation in guarantee_nul_terminator. 175 +* Tue Jul 3 2001 ro@suse.de 176 +- don't call make check for other archs 177 +* Tue Jul 3 2001 olh@suse.de 178 +- dont call make check on ppc, it eats your disk space 179 +* Mon Jul 2 2001 cihlar@suse.cz 180 +- update to version 3.6 181 +- clean up spec file 182 +* Mon Jun 18 2001 schwab@suse.de 183 +- Call aclocal to get new libtool macros. 184 +- Fix missing return value. 185 +* Mon Jun 11 2001 pblaha@suse.cz 186 +- add libtoolize --force for build 187 +* Wed May 9 2001 mfabian@suse.de 188 +- bzip2 sources 189 +* Mon Apr 23 2001 pblaha@suse.cz 190 +- fix compilation on axp 191 +- fix name for catalog messages *.mo 192 +* Mon Mar 5 2001 pblaha@suse.cz 193 +- move info back from recode-devel -> recode 194 +* Wed Dec 6 2000 schwab@suse.de 195 +- Add %%suse_update_config. 196 +* Tue Dec 5 2000 uli@suse.de 197 +- added diffutils to neededforbuild 198 +* Tue Nov 21 2000 kukuk@suse.de 199 +- Use macros to support multilib plattforms 200 +* Mon Nov 20 2000 pblaha@suse.cz 201 |