5 Summary: An Enchanting Spell Checking Library
10 Group: System Environment/Libraries
13 Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libenchant/%{name}-%{version}.tar.gz
14 Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
15 URL: http://www.abisource.com/
17 Requires: glib2 >= 2.0.0
18 BuildRequires: glib2-devel >= 2.0.0
21 A library that wraps other spellchecking backends.
24 Summary: Support files necessary to compile applications with libenchant.
25 Group: Development/Libraries
29 Libraries, headers, and support files necessary to compile applications using libenchant.
37 MYARCH_FLAGS="--host=alpha-redhat-linux"
40 if [ ! -f configure ]; then
41 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
43 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
44 %{?_without_ispell:--disable-ispell} \
45 %{?_without_myspell:--disable-myspell} \
46 %{?_without_aspell:--disable-aspell} \
47 %{?_with_uspell:--enable-uspell}
49 if [ "$SMP" != "" ]; then
50 (%__make "MAKE=%__make -k -j $SMP"; exit 0)
57 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
58 mkdir -p %{buildroot}/usr/share/license
59 cp LICENSE %{buildroot}/usr/share/license/%{name}
60 %__make DESTDIR=$RPM_BUILD_ROOT install
61 find $RPM_BUILD_ROOT/%{_libdir} -name \*.la -exec rm -f \{\} \;
64 %manifest enchant.manifest
65 %defattr(644,root,root,755)
66 %doc AUTHORS COPYING.LIB README
67 %attr(755,root,root)%{_bindir}/*
69 %{_prefix}/share/man/man1/enchant.1.gz
70 %{_prefix}/share/enchant/enchant.ordering
71 %{!?_without_ispell:%{_libdir}/enchant/*ispell.so*}
72 %{!?_without_myspell:%{_libdir}/enchant/*myspell.so*}
74 #%{!?_without_aspell:%{_libdir}/enchant/*aspell.so*}
75 %{?_with_uspell:%{_libdir}/enchant/*uspell.so*}
76 /usr/share/license/%{name}
79 %defattr(644,root,root,755)
81 %{!?_without_ispell:%{_libdir}/enchant/*ispell.a}
82 %{!?_without_myspell:%{_libdir}/enchant/*myspell.a}
84 #%{!?_without_aspell:%{_libdir}/enchant/*aspell.a}
85 %{?_with_uspell:%{_libdir}/enchant/*uspell.a}
86 %{_libdir}/pkgconfig/enchant.pc
87 %{_includedir}/enchant/*
90 %__rm -rf $RPM_BUILD_ROOT
93 * Fri Sep 14 2012 Michal Roj <m.roj@samsung.com>
94 - this spec file updated in order to compile successfully with OBS for Tizen
96 * Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
97 - update spec to current stat of affairs
98 - building from source rpm is now aware of --with and --without flags:
99 - --without aspell --without ispell --without myspell --with uspell
101 * Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
102 - take advantage of environment rpm macros
104 * Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>