]> git.pld-linux.org Git - packages/enca.git/blob - enca.spec
- updated to 1.4
[packages/enca.git] / enca.spec
1 Summary:        Extremely Naive Charset Analyser
2 Summary(pl):    Skrajnie naiwny analizator zestawów znaków
3 Name:           enca
4 Version:        1.4
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://trific.ath.cx/Ftp/enca/%{name}-%{version}.tar.bz2
9 # Source0-md5:  5c97deb1910fa15cef9e867797143db4
10 URL:            http://trific.ath.cx/software/enca/
11 BuildRequires:  automake
12 BuildRequires:  recode-devel
13 Requires:       /bin/mktemp
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Enca is an Extremely Naive Charset Analyser. It detects character set
18 and encoding of text files and can also convert them to other
19 encodings using either a built-in converter or external libraries and
20 tools like libiconv, librecode, or cstocs.
21
22 Currently, it has support for Belarussian, Bulgarian, Croatian, Czech,
23 Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, and
24 Ukrainian and some multibyte encodings (mostly variants of Unicode)
25 independently on the language.
26
27 This package also contains shared Enca library other programs can make
28 use of.
29
30 %description -l pl
31 Enca to Extremely Naive Charset Analyser (skrajnie naiwny analizator
32 zestawów znaków). Wykrywa zestaw znaków i kodowanie plików tekstowych,
33 mo¿e tak¿e konwertowaæ do innych kodowañ przy u¿yciu wbudowanego
34 konwertera lub zewnêtrznych bibliotek i narzêdzi takich jak libiconv,
35 librecode czy cstocs.
36
37 Aktualnie obs³ugiwane s± znaki bia³oruskie, bu³garskie, chorwackie,
38 czeskie, estoñskie, litewskie, ³otewskie, polskie, rosyjskie,
39 s³owackie, s³oweñskie i ukraiñskie oraz niektóre kodowania
40 wielobajtowe (g³ównie warianty unikodu) niezale¿nie od jêzyka.
41
42 Ten pakiet zawiera tak¿e bibliotekê wspó³dzielon± Enca, która mo¿e byæ
43 wykorzystywana przez inne programy.
44
45 %package devel
46 Summary:        Header files for ENCA library
47 Summary(pl):    Pliki nag³ówkowe biblioteki ENCA
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}
50
51 %description devel
52 Header files for ENCA library.
53
54 %description devel -l pl
55 Pliki nag³ówkowe biblioteki ENCA.
56
57 %package static
58 Summary:        Static ENCA library
59 Summary(pl):    Statyczna biblioteka ENCA
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}
62
63 %description static
64 Static ENCA library.
65
66 %description static -l pl
67 Statyczna biblioteka ENCA.
68
69 %prep
70 %setup -q
71
72 %build
73 cp -f /usr/share/automake/config.sub .
74 %configure \
75         MKTEMP_PROG=/bin/mktemp \
76         --with-html-dir=%{_gtkdocdir}
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/enconv.1
87 echo '.so enca.1' > $RPM_BUILD_ROOT%{_mandir}/man1/enconv.1
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog FAQ NEWS README THANKS TODO
98 %attr(755,root,root) %{_bindir}/*
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
100 %attr(755,root,root) %{_libdir}/enca
101 %{_mandir}/man1/*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %doc README.devel
106 %attr(755,root,root) %{_libdir}/lib*.so
107 %{_libdir}/lib*.la
108 %{_includedir}/*.h
109 %{_pkgconfigdir}/*.pc
110 %{_gtkdocdir}/libenca
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.101007 seconds and 3 git commands to generate.