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

Revision 8084, 3.5 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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.20
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# compat32
47%package -n compat32-%{name}
48Summary:        A set of Thai language support routines
49Group:          System Environment/Libraries
50Requires:       %{name} = %{version}-%{release}
51
52%description -n compat32-%{name}
53LibThai is a set of Thai language support routines aimed to ease
54developers’ tasks to incorporate Thai language support in their
55applications. It includes important Thai-specific functions e.g.
56word breaking, input and output methods as well as basic character
57and string supports. LibThai is an Open Source and collaborative
58effort initiated by Thai Linux Working Group and opened for all
59contributors.
60
61
62%package -n compat32-%{name}-devel
63Summary:        Development tools for libthai
64Summary(ja):    libthai の開発環境
65Group:          Development/Libraries
66Requires:       compat32-%{name} = %{version}-%{release}
67Requires:       compat32-libdatrie-devel
68Requires:       pkgconfig
69
70%description -n compat32-%{name}-devel
71Header files and libraries for building a extension library for the
72libthai.
73
74
75
76%prep
77%setup -q
78
79
80%build
81%configure \
82        --disable-static
83
84%{__make} %{?_smp_mflags}
85
86
87%install
88%{__rm} -rf ${RPM_BUILD_ROOT}
89%{__make} install DESTDIR=${RPM_BUILD_ROOT}
90
91find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
92find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
93
94
95%clean
96%{__rm} -rf ${RPM_BUILD_ROOT}
97
98%post -p /sbin/ldconfig
99
100%postun -p /sbin/ldconfig
101
102
103%files
104%defattr(-,root,root,-)
105%doc COPYING ChangeLog NEWS README
106%{_libdir}/%{name}.so.*
107%{_datadir}/%{name}
108
109%files devel
110%defattr(-,root,root,-)
111%{_includedir}/thai
112%{_libdir}/%{name}.so
113%{_libdir}/pkgconfig/%{name}.pc
114
115%if %{build_compat32}
116%files -n compat32-%{name}
117%defattr(-, root, root,-)
118%{_libdir}/%{name}.so.*
119
120%files -n compat32-%{name}-devel
121%defattr(-, root, root,-)
122%{_libdir}/%{name}.so
123%endif
124
125
126%changelog
127* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.20-1
128- new upstream release
129- remove %%{name}-doc subpackage
130
131* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.19-1
132- new upstream release
133
134* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
135- new upstream release
136
137* Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.17-1
138- new upstream release
139
140* Wed Jan 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.16-1
141- initial build for Vine Linux
142
Note: See TracBrowser for help on using the repository browser.