|
Lines 1-14
Link Here
|
| 1 |
Name: recode |
1 |
Name: recode |
| 2 |
Version: 3.6 |
2 |
Version: 3.6 |
| 3 |
Release: alt5 |
3 |
Release: alt6 |
| 4 |
|
4 |
|
| 5 |
License: GPL |
5 |
License: GPL |
| 6 |
Group: Text tools |
6 |
Group: Text tools |
| 7 |
Source: http://www.iro.umontreal.ca/contrib/recode/%name-%version.tar.bz2 |
|
|
| 8 |
Url: http://www.iro.umontreal.ca/~pinard/ |
7 |
Url: http://www.iro.umontreal.ca/~pinard/ |
| 9 |
|
8 |
|
|
|
9 |
Source: http://www.iro.umontreal.ca/contrib/recode/%name-%version.tar.bz2 |
| 10 |
Patch: recode.patch |
| 11 |
|
| 10 |
Summary: The `recode' library converts files between character sets and usages |
12 |
Summary: The `recode' library converts files between character sets and usages |
| 11 |
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ recode ËÏÎ×ÅÒÔÉÒÕÅÔ ÆÁÊÌÙ ÉÚ ÒÁÚÎÙÈ ËÏÄÉÒÏ×ÏË. |
13 |
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ recode ËÏÎ×ÅÒÔÉÒÕÅÔ ÆÁÊÌÙ ÉÚ ÒÁÚÎÙÈ ËÏÄÉÒÏ×ÏË |
| 12 |
|
14 |
|
| 13 |
%description |
15 |
%description |
| 14 |
The `recode' library converts files between character sets and usages. |
16 |
The `recode' library converts files between character sets and usages. |
|
Lines 33-55
Link Here
|
| 33 |
|
35 |
|
| 34 |
%prep |
36 |
%prep |
| 35 |
%setup -q |
37 |
%setup -q |
|
|
38 |
%patch -p1 |
| 36 |
|
39 |
|
| 37 |
%build |
40 |
%build |
| 38 |
if [ ! -f configure ]; then |
41 |
%configure |
| 39 |
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh \ |
|
|
| 40 |
--prefix=%prefix |
| 41 |
else |
| 42 |
CFLAGS="$RPM_OPT_FLAGS" ./configure \ |
| 43 |
--prefix=%prefix |
| 44 |
fi |
| 45 |
|
| 46 |
%make_build |
42 |
%make_build |
| 47 |
|
43 |
|
| 48 |
%install |
44 |
%install |
| 49 |
make install-strip \ |
45 |
%makeinstall |
| 50 |
prefix=$RPM_BUILD_ROOT%prefix \ |
|
|
| 51 |
infodir=$RPM_BUILD_ROOT%_infodir \ |
| 52 |
mandir=$RPM_BUILD_ROOT%_mandir |
| 53 |
|
46 |
|
| 54 |
cd $RPM_BUILD_ROOT%prefix/lib |
47 |
cd $RPM_BUILD_ROOT%prefix/lib |
| 55 |
strip --strip-debug *.so* |
48 |
strip --strip-debug *.so* |
|
Lines 61-70
Link Here
|
| 61 |
%post |
54 |
%post |
| 62 |
%post_ldconfig |
55 |
%post_ldconfig |
| 63 |
|
56 |
|
| 64 |
%postun -p %postun_ldconfig |
57 |
%postun |
|
|
58 |
%postun_ldconfig |
| 65 |
|
59 |
|
| 66 |
%files -f %name.lang |
60 |
%files -f %name.lang |
| 67 |
%defattr(-, bin, bin) |
|
|
| 68 |
%_bindir/* |
61 |
%_bindir/* |
| 69 |
%_libdir/*.so* |
62 |
%_libdir/*.so* |
| 70 |
%_infodir/%name.info* |
63 |
%_infodir/%name.info* |
|
Lines 72-83
Link Here
|
| 72 |
%doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB ChangeLog INSTALL THANKS TODO |
65 |
%doc ABOUT-NLS AUTHORS BACKLOG COPYING COPYING-LIB ChangeLog INSTALL THANKS TODO |
| 73 |
|
66 |
|
| 74 |
%files devel |
67 |
%files devel |
| 75 |
%defattr(0555, bin, bin) |
|
|
| 76 |
|
| 77 |
%_includedir/* |
68 |
%_includedir/* |
| 78 |
%_libdir/*.a |
69 |
%_libdir/*.a |
| 79 |
|
70 |
|
| 80 |
%changelog |
71 |
%changelog |
|
|
72 |
* Mon Nov 29 2004 Vitaly Lipatov <lav@altlinux.ru> 3.6-alt6 |
| 73 |
- add a patch file from kota@szbk.u-szeged.hu (needed for pybliographer) |
| 74 |
- spec review |
| 75 |
|
| 81 |
* Sun Jun 20 2004 Maxim Tyurin <mrkooll@altlinux.ru> 3.6-alt5 |
76 |
* Sun Jun 20 2004 Maxim Tyurin <mrkooll@altlinux.ru> 3.6-alt5 |
| 82 |
- added find_lang |
77 |
- added find_lang |
| 83 |
|
78 |
|