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 Patch11: %{name}-format.patch
23 URL: http://recode.progiciels-bpi.ca/
24 BuildRequires: autoconf >= 2.53
25 BuildRequires: automake
27 BuildRequires: libtool
28 BuildRequires: texinfo
29 Requires(post,postun): /sbin/ldconfig
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Free `recode' converts files between various character sets and
34 surfaces. It supports more than 200 different character sets and
35 surfaces, including well known ISO-8859, CP-XXXX and Unicode.
37 %description -l pl.UTF-8
38 Program `recode' konwertuje pliki pomiędzy różnymi zestawami znaków i
39 kodowaniami. Obsługuje ponad 200 różnych zestawów znaków oraz sposobów
40 kodowania, włącznie z popularnymi ISO-8859, CP-XXXX oraz Unicode.
43 Summary: Header files and documentations for librecode
44 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do librecode
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
50 Header files and documentations for librecode.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe i dokumentacja do librecode.
56 Summary: Static librecode library
57 Summary(pl.UTF-8): Biblioteka statyczna librecode
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}-%{release}
63 Static librecode library.
65 %description static -l pl.UTF-8
66 Biblioteka statyczna librecode.
83 # duplicate of m4/*.m4 files
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
103 rm -rf $RPM_BUILD_ROOT
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %doc AUTHORS NEWS BACKLOG README THANKS TODO
116 %attr(755,root,root) %{_bindir}/recode
117 %attr(755,root,root) %{_libdir}/librecode.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/librecode.so.0
119 %{_infodir}/recode.info*
120 %{_mandir}/man1/recode.1*
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/librecode.so
125 %{_libdir}/librecode.la
126 %{_includedir}/recode.h
127 %{_includedir}/recodext.h
130 %defattr(644,root,root,755)
131 %{_libdir}/librecode.a