avatar
Rosa has added 27bef51281
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libthai-0.1.14.tar.gz": ceee653023bbd87c64f01607d6064ccda8ba3dc0
view file @ 27bef51281
... ... --- /dev/null
... ... +++ b/libthai-0.1.9-doxygen-segfault.patch
... ... @@ -0,0 +1,27 @@
1
diff -up libthai-0.1.9/doc/Doxyfile.in.doxygen-segfault libthai-0.1.9/doc/Doxyfile.in
2
--- libthai-0.1.9/doc/Doxyfile.in.doxygen-segfault	2007-11-13 16:37:16.000000000 -0500
3
+++ libthai-0.1.9/doc/Doxyfile.in	2007-11-13 16:37:31.000000000 -0500
4
@@ -29,7 +29,6 @@ STRIP_FROM_PATH        = @top_srcdir@/in
5
 STRIP_FROM_INC_PATH    = @top_srcdir@/include
6
 SHORT_NAMES            = NO
7
 JAVADOC_AUTOBRIEF      = NO
8
-QT_AUTOBRIEF           = NO
9
 MULTILINE_CPP_IS_BRIEF = NO
10
 DETAILS_AT_TOP         = YES
11
 INHERIT_DOCS           = YES
12
@@ -50,7 +49,6 @@ EXTRACT_PRIVATE        = NO
13
 EXTRACT_STATIC         = NO
14
 EXTRACT_LOCAL_CLASSES  = YES
15
 EXTRACT_LOCAL_METHODS  = NO
16
-EXTRACT_ANON_NSPACES   = NO
17
 HIDE_UNDOC_MEMBERS     = YES
18
 HIDE_UNDOC_CLASSES     = YES
19
 HIDE_FRIEND_COMPOUNDS  = NO
20
@@ -168,7 +166,6 @@ HTML_FOOTER            = 
21
 HTML_STYLESHEET        = 
22
 HTML_ALIGN_MEMBERS     = YES
23
 GENERATE_HTMLHELP      = NO
24
-HTML_DYNAMIC_SECTIONS  = NO
25
 CHM_FILE               = 
26
 HHC_LOCATION           = 
27
 GENERATE_CHI           = NO
... ... --- /dev/null
... ... +++ b/libthai.spec
... ... @@ -0,0 +1,174 @@
1
%define major 0
2
%define libname %mklibname thai %major
3
%define libnamedev %mklibname -d thai
4
5
Summary: Thai language support routines
6
Name:    libthai
7
Version: 0.1.14
8
Release: %mkrel 2
9
License: LGPL
10
Group:   System/Libraries
11
URL:     http://linux.thai.net
12
Source:  http://linux.thai.net/pub/thailinux/software/libthai/%name-%{version}.tar.gz
13
Patch0: libthai-0.1.9-doxygen-segfault.patch
14
BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
BuildRequires: pkgconfig datrie-devel
16
# for trietool:
17
BuildRequires: trietool
18
19
%description
20
LibThai is a set of Thai language support routines aimed to ease
21
developers' tasks to incorporate Thai language support in their applications.
22
It includes important Thai-specific functions e.g. word breaking, input and
23
output methods as well as basic character and string supports.
24
25
%package -n %libname
26
Summary: Thai language support routines
27
Group:   System/Libraries
28
Requires: thai-data
29
30
%description -n %libname
31
LibThai is a set of Thai language support routines aimed to ease
32
developers' tasks to incorporate Thai language support in their applications.
33
It includes important Thai-specific functions e.g. word breaking, input and
34
output methods as well as basic character and string supports.
35
36
%package -n thai-data
37
Summary: Thai language support data 
38
Group:   System/Libraries
39
Requires: thai-data
40
41
%description -n thai-data
42
Data stuff for libthai.
43
44
%package -n %libnamedev
45
Summary:  Thai language support routines
46
Group:    Development/C
47
Requires: %{libname} = %{version}
48
Requires: pkgconfig
49
Provides: thai-devel = %version
50
Obsoletes: %{mklibname thai 0 -d}
51
52
%description -n %libnamedev
53
The libthai-devel package includes the header files and developer docs 
54
for the libthai package.
55
56
Install libthai-devel if you want to develop programs which will use
57
libthai.
58
59
%prep
60
%setup -q -n %{name}-%{version}
61
%patch0 -p1
62
63
%build
64
%configure2_5x --disable-static --disable-doxygen-doc
65
%make
66
67
%install
68
rm -rf $RPM_BUILD_ROOT
69
70
%makeinstall_std
71
72
rm $RPM_BUILD_ROOT%{_libdir}/*.la
73
74
%clean
75
rm -rf $RPM_BUILD_ROOT
76
77
%if %mdkversion < 200900
78
%post   -n %libname -p /sbin/ldconfig
79
%endif
80
%if %mdkversion < 200900
81
%postun -n %libname -p /sbin/ldconfig
82
%endif
83
84
%files  -n %libname
85
%defattr(-, root, root)
86
%doc README AUTHORS COPYING ChangeLog TODO
87
%{_libdir}/lib*.so.%{major}.*
88
%{_libdir}/lib*.so.%{major}
89
90
%files  -n %libnamedev
91
%defattr(-, root, root)
92
%{_includedir}/thai
93
%{_libdir}/lib*.so
94
%{_libdir}/pkgconfig/*
95
96
%files  -n thai-data
97
%defattr(-, root, root)
98
%{_datadir}/libthai
99
100
101
%changelog
102
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 0.1.14-2mdv2011.0
103
+ Revision: 661532
104
- mass rebuild
105
106
* Mon Nov 29 2010 Funda Wang <fwang@mandriva.org> 0.1.14-1mdv2011.0
107
+ Revision: 602822
108
- new version 0.1.14 (doxygen disabled, because of wrongly listed man pages)
109
110
  + Oden Eriksson <oeriksson@mandriva.com>
111
    - rebuild
112
113
* Fri Jan 15 2010 Frederik Himpe <fhimpe@mandriva.org> 0.1.13-1mdv2010.1
114
+ Revision: 491923
115
- update to new version 0.1.13
116
117
* Sun Jun 21 2009 Frederik Himpe <fhimpe@mandriva.org> 0.1.12-1mdv2010.0
118
+ Revision: 387601
119
- Update to new version 0.1.12
120
121
* Tue Apr 07 2009 Funda Wang <fwang@mandriva.org> 0.1.9-7mdv2009.1
122
+ Revision: 364636
123
- use configure2_5x
124
125
* Sat Jun 28 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.9-7mdv2009.0
126
+ Revision: 229755
127
- rebuild
128
129
  + Thierry Vignaud <tv@mandriva.org>
130
    - rebuild
131
132
  + Pixel <pixel@mandriva.com>
133
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
134
135
* Tue Mar 04 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.9-5mdv2008.1
136
+ Revision: 179004
137
- rebuild
138
139
  + Thierry Vignaud <tv@mandriva.org>
140
    - rebuild
141
    - kill re-definition of %%buildroot on Pixel's request
142
143
  + Olivier Blin <oblin@mandriva.com>
144
    - restore BuildRoot
145
146
* Wed Sep 05 2007 Anssi Hannula <anssi@mandriva.org> 0.1.9-3mdv2008.0
147
+ Revision: 80182
148
- obsolete the old devel package instead of the providing+obsoleting
149
  the current main library package in the devel package
150
151
* Wed Sep 05 2007 Thierry Vignaud <tv@mandriva.org> 0.1.9-2mdv2008.0
152
+ Revision: 80068
153
- cleanups
154
- do not provides itself
155
156
* Tue Aug 28 2007 Götz Waschk <waschk@mandriva.org> 0.1.9-1mdv2008.0
157
+ Revision: 72629
158
- new version
159
- new devel name
160
161
* Fri Apr 20 2007 Thierry Vignaud <tv@mandriva.org> 0.1.8-2mdv2008.0
162
+ Revision: 16236
163
- new release
164
165
166
* Mon Jan 22 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.1.7-1mdv2007.0
167
+ Revision: 111945
168
- require trietool
169
- fix buildrequire
170
- Import libthai
171
172
* Mon Jan 22 2007 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.1.7-1mdv2007.1
173
- initial release
174

Comments