source: projects/specs/trunk/lib/libt/libthai/libthai-vl.spec @ 9791

Revision 9791, 4.1 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        A set of Thai language support routines
4Name:           libthai
5Version:        0.1.23
6Release:        1%{?_dist_release}
7Source0:        http://linux.thai.net/pub/thailinux/software/%{name}/%{name}-%{version}.tar.xz
8License:        GPLv2
9Group:          System Environment/Libraries
10URL:            http://linux.thai.net/projects/libthai
11
12BuildRequires:  doxygen
13BuildRequires:  libdatrie-devel
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17Obsoletes:      %{name}-doc < 0.1.20
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       Takemikaduchi
22
23%description
24LibThai is a set of Thai language support routines aimed to ease
25developers’ tasks to incorporate Thai language support in their
26applications. It includes important Thai-specific functions e.g.
27word breaking, input and output methods as well as basic character
28and string supports. LibThai is an Open Source and collaborative
29effort initiated by Thai Linux Working Group and opened for all
30contributors.
31
32
33%package                devel
34Summary:        Development tools for libthai
35Summary(ja):    libthai の開発環境
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       libdatrie-devel
39Requires:       pkgconfig
40
41%description    devel
42Header files and libraries for building a extension library for the
43libthai.
44
45
46%package        docs
47Summary:        Documentation for %{name}
48Summary(ja):    %{name} 用のドキュメント
49Group:          Documentation
50Requires:       %{name} = %{version}-%{release}
51BuildArch:      noarch
52
53%description    docs
54This package contains documentation for %{name}.
55
56
57# compat32
58%package -n compat32-%{name}
59Summary:        A set of Thai language support routines
60Group:          System Environment/Libraries
61Requires:       %{name} = %{version}-%{release}
62
63%description -n compat32-%{name}
64LibThai is a set of Thai language support routines aimed to ease
65developers’ tasks to incorporate Thai language support in their
66applications. It includes important Thai-specific functions e.g.
67word breaking, input and output methods as well as basic character
68and string supports. LibThai is an Open Source and collaborative
69effort initiated by Thai Linux Working Group and opened for all
70contributors.
71
72
73%package -n compat32-%{name}-devel
74Summary:        Development tools for libthai
75Summary(ja):    libthai の開発環境
76Group:          Development/Libraries
77Requires:       compat32-%{name} = %{version}-%{release}
78Requires:       compat32-libdatrie-devel
79Requires:       pkgconfig
80
81%description -n compat32-%{name}-devel
82Header files and libraries for building a extension library for the
83libthai.
84
85
86
87%prep
88%setup -q
89
90
91%build
92%configure \
93        --disable-static
94
95%{__make} %{?_smp_mflags}
96
97
98%install
99%{__rm} -rf ${RPM_BUILD_ROOT}
100%{__make} install DESTDIR=${RPM_BUILD_ROOT}
101
102find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
103find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
104
105
106%clean
107%{__rm} -rf ${RPM_BUILD_ROOT}
108
109%post -p /sbin/ldconfig
110
111%postun -p /sbin/ldconfig
112
113
114%files
115%defattr(-,root,root,-)
116%doc COPYING ChangeLog NEWS README
117%{_libdir}/%{name}.so.*
118%{_datadir}/%{name}
119
120%files devel
121%defattr(-,root,root,-)
122%{_includedir}/thai
123%{_libdir}/%{name}.so
124%{_libdir}/pkgconfig/%{name}.pc
125
126%files docs
127%defattr(-,root,root,-)
128%{_docdir}/%{name}
129
130%if %{build_compat32}
131%files -n compat32-%{name}
132%defattr(-, root, root,-)
133%{_libdir}/%{name}.so.*
134
135%files -n compat32-%{name}-devel
136%defattr(-, root, root,-)
137%{_libdir}/%{name}.so
138%endif
139
140
141%changelog
142* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.23-1
143- new upstream release
144
145* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.21-1
146- new upstream release
147
148* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.20-1
149- new upstream release
150- remove %%{name}-doc subpackage
151
152* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.19-1
153- new upstream release
154
155* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
156- new upstream release
157
158* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.17-1
159- new upstream release
160
161* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.16-1
162- initial build for Vine Linux
163
Note: See TracBrowser for help on using the repository browser.