]> git.pld-linux.org Git - packages/libguess.git/blame - libguess.spec
- new URLs, updated to 1.2
[packages/libguess.git] / libguess.spec
CommitLineData
840971ab 1Summary: A high-speed character set detection library
ec970c50 2Summary(pl.UTF-8): Biblioteka do szybkiego rozpoznawania zestawu znaków
840971ab 3Name: libguess
a6c6d7ac
JB
4Version: 1.2
5Release: 1
ec970c50
JB
6License: BSD
7Group: Libraries
a6c6d7ac
JB
8# code developed at https://github.com/atheme/libguess (no releases tagged)
9Source0: http://rabbit.dereferenced.org/~nenolod/distfiles/%{name}-%{version}.tar.bz2
10# Source0-md5: 7633fbfbeb75b1ded7f33cca3d8d4762
11URL: http://atheme.org/projects/libguess.html
ec970c50 12BuildRequires: pkgconfig
a6c6d7ac 13BuildRequires: sed >= 4.0
840971ab
AM
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
ec970c50
JB
17libguess is a high-speed character set detection library. It has two
18functions:
19- to determine encoding,
20- to validate UTF-8 encoding.
840971ab 21
ec970c50
JB
22%description -l pl.UTF-8
23libguess to biblioteka do szybkiego rozpoznawania zestawu znaków. Ma
24dwie funkcje:
25- do określania kodowania,
26- do sprawdzania poprawności kodowania UTF-8.
840971ab
AM
27
28%package devel
ec970c50
JB
29Summary: Header files for libguess library
30Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libguess
840971ab 31Group: Development/Libraries
ec970c50 32Requires: %{name} = %{version}-%{release}
840971ab
AM
33
34%description devel
ec970c50 35Header files for libguess library.
840971ab
AM
36
37%description devel -l pl.UTF-8
ec970c50 38Pliki nagłówkowe biblioteki libguess.
840971ab 39
840971ab
AM
40%prep
41%setup -q
42
a6c6d7ac
JB
43%{__sed} -i -e '/^\.SILENT/d' buildsys.mk.in
44
840971ab
AM
45%build
46%configure
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58%postun -p /sbin/ldconfig
59
60%files
61%defattr(644,root,root,755)
ec970c50 62%doc COPYING README
a6c6d7ac 63%attr(755,root,root) %{_libdir}/libguess.so.*.*.*
840971ab
AM
64%attr(755,root,root) %ghost %{_libdir}/libguess.so.1
65
66%files devel
67%defattr(644,root,root,755)
68%attr(755,root,root) %{_libdir}/libguess.so
69%{_includedir}/libguess
70%{_pkgconfigdir}/libguess.pc
This page took 0.080445 seconds and 4 git commands to generate.