source: projects/specs/trunk/e/enchant2/enchant2-vl.spec @ 12005

Revision 12005, 6.4 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1%bcond_with voikko
2%bcond_with hunspell
3
4Summary: An Enchanting Spell Checking Library
5Summary(ja): スペルチェックライブラリ
6Name: enchant2
7Version: 2.2.3
8Release: 1%{?_dist_release}
9Group: System Environment/Libraries
10License: LGPLv2+
11
12Vendor: Project Vine
13Distribution: Vine Linux
14
15Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
16URL: http://www.abisource.com/
17BuildRequires: glib2-devel >= 2.6.0
18BuildRequires: aspell-devel
19%if %{with hunspell}
20BuildRequires: hunspell-devel
21%endif
22%if %{with voikko}
23BuildRequires: libvoikko-devel
24%endif
25BuildRequires: automake, libtool
26BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
27
28%description
29A library that wraps other spell checking backends.
30
31%package hunspell
32Summary: Integration with hunspell for libenchant
33Summary(ja): Integration with hunspell for libenchant
34Group: System Environment/Libraries
35Requires: enchant = %{version}-%{release}
36
37%description hunspell
38Libraries necessary to integrate applications using libenchant with hunspell.
39
40%package voikko
41Summary: Integration with voikko for libenchant
42Summary(ja): Integration with voikko for libenchant
43Group: System Environment/Libraries
44Requires: enchant = %{version}-%{release}
45
46%description voikko
47Libraries necessary to integrate applications using libenchant with voikko.
48
49
50%package devel
51Summary: Support files necessary to compile applications with libenchant.
52Summary(ja): Support files necessary to compile applications with libenchant.
53Group: Development/Libraries
54Requires: enchant2 = %{version}-%{release}
55Requires: glib2-devel
56
57%description devel
58Libraries, headers, and support files necessary to compile applications using libenchant.
59
60%prep
61%setup -q -n enchant-%{version}
62
63%build
64%configure \
65  --disable-ispell \
66  --disable-hspell \
67%if %{with hunspell}
68  --with-myspell \
69%else
70  --disable-myspell \
71%endif
72%if !%{with voikko}
73  --disable-voikko \
74%endif
75  --disable-zemberek \
76  --disable-static
77
78sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
79        s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
80
81make %{?_smp_mflags} pkgdatadir=%{_datadir}/enchant-2
82
83%install
84rm -rf $RPM_BUILD_ROOT
85make DESTDIR=$RPM_BUILD_ROOT pkgdatadir=%{_datadir}/enchant-2 install
86rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
87rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant-2/*.la
88
89%files
90%defattr(-,root,root)
91%license COPYING.LIB
92%doc AUTHORS NEWS README
93%{_bindir}/*
94%{_libdir}/lib*.so.*
95%dir %{_libdir}/enchant-2
96%{_libdir}/enchant-2/*aspell.so*
97%{_mandir}/man1/*
98%dir %{_datadir}/enchant-2
99%{_datadir}/enchant-2/*
100
101%if %{with hunspell}
102%files hunspell
103%{_libdir}/enchant-2/*myspell.so*
104%endif
105
106%if %{with voikko}
107%files voikko
108%{_libdir}/enchant-2/*_voikko.so*
109%endif
110
111%files devel
112%defattr(-,root,root)
113%{_libdir}/*.so
114%{_libdir}/pkgconfig/enchant-2.pc
115%{_includedir}/enchant-2
116
117%post -p /sbin/ldconfig
118
119%postun -p /sbin/ldconfig
120
121%clean
122rm -r $RPM_BUILD_ROOT
123
124%changelog
125* Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.3-1
126- new upstream release.
127- renamed %%{name} to "enchant2".
128
129* Sat Apr 06 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.6.0-1
130- new upstream release
131
132* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.4.2-2
133- build with rpm-4.8.1-1 for pkg-config file
134
135* Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-1
136- initial build for Vine Linux
137
138* Sat Jul 26 2008 Michael Schwendt <mschwendt@fedoraproject.org> 1:1.4.2-4
139- Rebuild for ABI-incompatible hunspell-1.2.4.2-2.fc10
140
141* Thu Jul 10 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-3
142- Fix 426712: don't build static libs (patch from Michael Schwendt)
143
144* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-2
145- Rebuild
146
147* Wed May 21 2008 Marc Maurer <uwog@abisource.com> 1:1.4.2-1
148- New upstream release
149- Add voikko support in an enchant-voikko package
150- Bump glib-devel BR to 2.6.0
151
152* Fri Feb 08 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-4.fc9
153- minor cockup
154
155* Sat Jan 26 2008 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-3.fc9
156- Resolves: rhbz#426402 use system hunspell not internal one and
157  split out aspell backend.
158- See: rhbz#430354 hspell backend disabled until pic issue fixed
159
160* Wed Dec 19 2007 Caolan McNamara <caolanm@redhat.com> 1:1.3.0-2.fc9
161- tell enchant where the myspell dictionaries are
162
163* Thu Oct 12 2006 Marc Maurer <uwog@abisource.com> 1:1.3.0-1.fc6
164- Update to 1.3.0
165
166* Mon Sep 11 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-3.fc6
167- Rebuild for FC6
168
169* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-2.fc6
170- Rebuild
171
172* Mon Apr 10 2006 Marc Maurer <uwog@abisource.com> 1:1.2.5-1.fc6
173- Package the data dir as well (bug 188516)
174- New upstream version
175- Add hspell requirement/support
176
177* Tue Feb 14 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-2.fc5
178- Rebuild for Fedora Extras 5
179
180* Sun Feb 05 2006 Marc Maurer <uwog@abisource.com> 1:1.2.2-1.fc5
181- Update to 1.2.2
182
183* Mon Jan 30 2006 Marc Maurer <uwog@abisource.com> 1:1.2.1-1.fc5
184- Update to 1.2.1
185- Drop glib Require
186
187* Sat Oct 22 2005 Marc Maurer <uwog@abisource.com> 1:1.2.0-1.fc5
188- Update to 1.2.0
189
190* Wed Oct  5 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-4.fc5
191- Add dist flag to the release number
192
193* Mon Apr  4 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-3
194- make in %%build
195- disable bad buildroot rpaths in libs, don't use %%makeinstall
196- require %%{epoch} of main package in -devel package (Fridrich Strba)
197
198* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-2
199- add dep glib2-devel for pkgconfig in -devel package
200- include %%{_libdir}/enchant dir in main package
201- make -devel package require exact VR of main package
202- use -p /sbin/ldconfig in scriptlets
203
204* Mon Mar 28 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-1
205- update to 1.1.6
206- drop the manpage patch (RH#145010#)
207- fix version numbers in the spec changelog
208
209* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-3
210- rebuild with gcc4
211
212* Fri Jan 14 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-2
213- RH#145010# misformatted manpage
214
215* Mon Dec 20 2004 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-1
216- initial fedora import
217
218* Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
219- update spec to current stat of affairs
220- building from source rpm is now aware of --with and --without flags:
221- --without aspell --without ispell --without myspell --with uspell
222
223* Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
224- take advantage of environment rpm macros
225
226* Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>
227- Initial version
Note: See TracBrowser for help on using the repository browser.