1 Summary: Utility for converting text between multiple character sets
2 Summary(pl.UTF-8): Uniwersalny konwerter między zestawami znaków
6 License: LGPL v2+ (library), GPL v2+ (utility)
7 Group: Applications/Text
8 # for future releases (3.7/4.0) see https://github.com/pinard/Recode/
9 Source0: %{name}-%{version}.tar.gz
10 # Source0-md5: be3f40ad2e93dae5cd5f628264bf1877
11 Patch0: %{name}-info.patch
12 Patch1: %{name}-use_malloc_realloc.patch
13 Patch2: %{name}-am.patch
14 Patch3: %{name}-hash-nameconflict.patch
15 Patch4: %{name}-ac25x.patch
16 Patch5: %{name}-el.po-no0xD2.patch
17 Patch6: %{name}-pl.po-update.patch
18 Patch7: %{name}-debian-11.patch
19 Patch8: %{name}-gcc4_3.patch
20 Patch9: %{name}-bool.patch
21 Patch10: %{name}-ac.patch
22 URL: http://recode.progiciels-bpi.ca/
23 BuildRequires: autoconf >= 2.53
24 BuildRequires: automake
26 BuildRequires: libtool
27 BuildRequires: texinfo
28 Requires(post,postun): /sbin/ldconfig
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Free `recode' converts files between various character sets and
33 surfaces. It supports more than 200 different character sets and
34 surfaces, including well known ISO-8859, CP-XXXX and Unicode.
36 %description -l pl.UTF-8
37 Program `recode' konwertuje pliki pomiędzy różnymi zestawami znaków i
38 kodowaniami. Obsługuje ponad 200 różnych zestawów znaków oraz sposobów
39 kodowania, włącznie z popularnymi ISO-8859, CP-XXXX oraz Unicode.
42 Summary: Header files and documentations for librecode
43 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do librecode
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Header files and documentations for librecode.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe i dokumentacja do librecode.
55 Summary: Static librecode library
56 Summary(pl.UTF-8): Biblioteka statyczna librecode
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static librecode library.
64 %description static -l pl.UTF-8
65 Biblioteka statyczna librecode.
81 # duplicate of m4/*.m4 files
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
101 rm -rf $RPM_BUILD_ROOT
105 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
109 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS NEWS BACKLOG README THANKS TODO
114 %attr(755,root,root) %{_bindir}/recode
115 %attr(755,root,root) %{_libdir}/librecode.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/librecode.so.0
117 %{_infodir}/recode.info*
118 %{_mandir}/man1/recode.1*
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/librecode.so
123 %{_libdir}/librecode.la
124 %{_includedir}/recode.h
125 %{_includedir}/recodext.h
128 %defattr(644,root,root,755)
129 %{_libdir}/librecode.a