1 | Name: libguess |
---|
2 | Version: 1.2 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | |
---|
5 | Summary: High-speed character set detection library |
---|
6 | Summary(ja): 高速に文字セットを探知するライブラリ |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: BSD |
---|
9 | URL: http://rabbit.dereferenced.org/~nenolod/distfiles/ |
---|
10 | Source0: http://rabbit.dereferenced.org/~nenolod/distfiles/%{name}-%{version}.tar.bz2 |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: pkgconfig |
---|
14 | |
---|
15 | %description |
---|
16 | libguess employs discrete-finite automata to deduce the character set of |
---|
17 | the input buffer. The advantage of this is that all character sets can be |
---|
18 | checked in parallel, and quickly. Right now, libguess passes a byte to |
---|
19 | each DFA on the same pass, meaning that the winning character set can be |
---|
20 | deduced as efficiently as possible. |
---|
21 | |
---|
22 | libguess is fully reentrant, using only local stack memory for DFA |
---|
23 | operations. |
---|
24 | |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Files needed for developing with %{name} |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | |
---|
31 | %description devel |
---|
32 | This package contains the files that are needed when building |
---|
33 | software that uses %{name}. |
---|
34 | |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | |
---|
39 | sed -i '\,^.SILENT:,d' buildsys.mk.in |
---|
40 | |
---|
41 | %build |
---|
42 | %configure |
---|
43 | make %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
48 | |
---|
49 | %check |
---|
50 | cd src/tests/testbench |
---|
51 | LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} make |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %post -p /sbin/ldconfig |
---|
57 | |
---|
58 | %postun -p /sbin/ldconfig |
---|
59 | |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root,-) |
---|
63 | %doc COPYING README |
---|
64 | %{_libdir}/%{name}.so.1 |
---|
65 | %{_libdir}/%{name}.so.1.* |
---|
66 | |
---|
67 | %files devel |
---|
68 | %defattr(-,root,root,-) |
---|
69 | %{_libdir}/%{name}.so |
---|
70 | %dir %{_includedir}/%{name} |
---|
71 | %{_includedir}/%{name}/%{name}.h |
---|
72 | %{_libdir}/pkgconfig/%{name}.pc |
---|
73 | |
---|
74 | |
---|
75 | %changelog |
---|
76 | * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2-2 |
---|
77 | - Initial build for Vine Linux |
---|
78 | |
---|
79 | * Mon Nov 10 2014 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2-1 |
---|
80 | - BR libmowgli no longer needed. |
---|
81 | - M4 dir patch merged. |
---|
82 | - Update URLs. |
---|
83 | - Upgrade to 1.2 (in the API only added the no-op libguess_init). |
---|
84 | |
---|
85 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9 |
---|
86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
87 | |
---|
88 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8 |
---|
89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
90 | |
---|
91 | * Mon Dec 2 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-7 |
---|
92 | - Add conditionals for EL builds (#1036386). |
---|
93 | |
---|
94 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
96 | |
---|
97 | * Sun Apr 21 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-5 |
---|
98 | - Patch configure.ac to define m4 macro dir. |
---|
99 | - BR autoconf libtool and run autoreconf -f for aarch64 updates (#925758). |
---|
100 | |
---|
101 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4 |
---|
102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
103 | |
---|
104 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
106 | |
---|
107 | * Thu Jan 5 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-2 |
---|
108 | - rebuild for GCC 4.7 as requested |
---|
109 | |
---|
110 | * Sat Dec 3 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.1-1 |
---|
111 | - Upgrade to 1.1 with added %%check section. |
---|
112 | |
---|
113 | * Fri Sep 16 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-3 |
---|
114 | - Use %%_isa in -devel package dependency. |
---|
115 | - Drop %%defattr lines. |
---|
116 | |
---|
117 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2 |
---|
118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
119 | |
---|
120 | * Wed Jul 14 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-1 |
---|
121 | - Use fresh 1.0 release tarball, which only adds the makerelease.sh script. |
---|
122 | - Drop unneeded BuildRoot stuff. |
---|
123 | |
---|
124 | * Tue Jul 13 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.0-0.1.20100713 |
---|
125 | - Initial RPM packaging. |
---|