diff options
author | Rui M. Silva Seabra <rms@1407.org> | 2003-08-24 14:07:14 +0000 |
---|---|---|
committer | Rui M. Silva Seabra <rms@1407.org> | 2003-08-24 14:07:14 +0000 |
commit | 652fa9ec8b355de2669b8bc5df1e6abbc978ebf8 (patch) | |
tree | 93ac4dc5a29659188600033cb1da0f2756c3ae90 | |
parent | 5674e713565571d2735fc5d7cc8daa67793a4fd8 (diff) | |
download | enchant-652fa9ec8b355de2669b8bc5df1e6abbc978ebf8.tar.gz |
update spec to current stat of affairs
building from source rpm is now aware of --with and --without flags:
--without aspell --without ispell --without myspell --with uspell
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20807 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | enchant.spec.in | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/enchant.spec.in b/enchant.spec.in index 4a1c657..d52354d 100644 --- a/enchant.spec.in +++ b/enchant.spec.in @@ -1,4 +1,4 @@ -%define name libenchant +%define name enchant %define version @VERSION@ %define release 1 @@ -40,7 +40,12 @@ Libraries, headers, and support files necessary to compile applications using li if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} fi -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ +%{?_without_ispell:--disable-ispell} \ +%{?_without_myspell:--disable-myspell} \ +%{?_without_aspell:--disable-aspell} \ +%{?_with_uspell:--enable-uspell} + if [ "$SMP" != "" ]; then (%__make "MAKE=%__make -k -j $SMP"; exit 0) @@ -57,20 +62,32 @@ find $RPM_BUILD_ROOT/%{_libdir} -name \*.la -exec rm -f \{\} \; %files %defattr(644,root,root,755) %doc AUTHORS COPYING.LIB README +%attr(755,root,root)%{_bindir}/* %{_libdir}/lib*.so* -%{_libdir}/enchant/lib*.so* +%{!?_without_ispell:%{_libdir}/enchant/*ispell.so*} +%{!?_without_myspell:%{_libdir}/enchant/*myspell.so*} +%{!?_without_aspell:%{_libdir}/enchant/*aspell.so*} +%{?_with_uspell:%{_libdir}/enchant/*uspell.so*} %files devel %defattr(644,root,root,755) %{_libdir}/*.a -%{_libdir}/enchant/*.a -%{_libdir}/pkgconfig/libenchant.pc +%{!?_without_ispell:%{_libdir}/enchant/*ispell.a} +%{!?_without_myspell:%{_libdir}/enchant/*myspell.a} +%{!?_without_aspell:%{_libdir}/enchant/*aspell.a} +%{?_with_uspell:%{_libdir}/enchant/*uspell.a} +%{_libdir}/pkgconfig/enchant.pc %{_includedir}/enchant/* %clean %__rm -r $RPM_BUILD_ROOT %changelog +* Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org> +- update spec to current stat of affairs +- building from source rpm is now aware of --with and --without flags: +- --without aspell --without ispell --without myspell --with uspell + * Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org> - take advantage of environment rpm macros |