summaryrefslogtreecommitdiffstats
path: root/librcd.spec.in
blob: d06e599388fffd7d929dc036549abb8dfdcb7916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Summary: Russian Encoding Detection Library
Name: librcd
Version: @VERSION@
Release: csa
License: GPL
Group: Development/Libraries
Vendor: DarkSoft <ds7fff@myrealbox.com>
Distribution: DarkLin <ds7fff@myrealbox.com>
Packager: Suren A. Chilingaryan <ds7fff@myrealbox.com>
Source: librcd-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://rusxmms.sourceforge.net
Prefix: %{_prefix}
Docdir: %{_docdir}

%description
Automatic encoding detection library for russian/ukrainian languages. Optimized
for very small words and phrases.

%package devel 
Summary: Russian Encoding Detection Library
Group: Development/Libraries 
Requires: librcd = %{version}

%description devel
Automatic encoding detection library for russian/ukrainian languages. Optimized
for very small words and phrases.

%prep
%setup -q

%build
%configure

%install
%makeinstall prefix=$RPM_BUILD_ROOT%{prefix} 
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files 
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING
%{_libdir}/lib*.so.*


%files devel
%defattr(-, root, root)  
%{_includedir}
%{_libdir}/lib*.so
%{_libdir}/*.a

%changelog