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

Revision 12390, 6.5 KB checked in by tomop, 4 years ago (diff)

updated 11 packages

dos2unix-7.4.1-1

enchant-1.6.0-2

enchant2-2.2.8-1

fetchmail-6.4.4-1

gmime-3.2.7-1

libical-3.0.8-1

nspr-4.25-1

re2c-1.3-1

samba-4.12.2-1

squid-4.11-1

unique-1.1.6-5

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