File: unac.spec.in

package info (click to toggle)
unac 1.8.0-10
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 2,464 kB
  • sloc: ansic: 3,862; sh: 2,794; makefile: 43; perl: 4
file content (50 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (5)
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
Summary: A C library and a command that remove accents.
Name: unac
Version: @VERSION@
Release: 1
License: GPL
Vendor: Senga
Group: Development/Libraries
Source: http://www.senga.org/download/unac/unac-%{version}.tar.gz
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root

%description
unac is a C library and command that remove accents from a string.
For instance the string t will become ete.  It provides a command
line interface that removes accents from a string given in argument
(unaccent command). In the library function and the command, the
charset of the input string is specified as an argument. The input
string is converted to UTF-16 using iconv(3), accents are stripped and
the result is converted back to the original charset. The iconv --list
command on GNU/Linux will show all charset supported.

%prep
%setup -q

%build

%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc ChangeLog README
%{_bindir}/*
%{_libdir}/*
%{_includedir}/*
%{_mandir}/man*/*

%changelog
* Fri Sep 21 2000 Loic Dachary <loic@senga.org>
- Create