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