diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-02-09 12:38:00 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2017-02-09 12:44:41 +0000 |
commit | b20f18212c70bf4554a7003734acab64b9c28e8c (patch) | |
tree | ca8f2bac990ee96f62773a8adcf4b6a33fb004d3 | |
parent | 2aea0621f908c752d42d86147015d257f05c7026 (diff) | |
download | enchant-b20f18212c70bf4554a7003734acab64b9c28e8c.tar.gz |
Remove RPM specfile; leave that to packagers
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | enchant.spec.in | 96 |
4 files changed, 0 insertions, 102 deletions
@@ -14,10 +14,7 @@ enchant-*.tar.gz /configure /config.* /depcomp -/enchant-uninstalled.pc /enchant.pc -/enchant.ps -/enchant.spec /gnulib /install-sh /lib diff --git a/Makefile.am b/Makefile.am index 56a468c..bc72aa0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,8 +8,6 @@ pkgconfig_DATA = enchant.pc EXTRA_DIST = \ autogen.sh \ enchant.pc.in \ - enchant.spec.in \ - enchant.spec \ lt-compile-resource \ compile-resource \ README \ diff --git a/configure.ac b/configure.ac index 8f1b93c..46aed1d 100644 --- a/configure.ac +++ b/configure.ac @@ -532,7 +532,6 @@ dnl ============================================================================ AC_CONFIG_FILES([ Makefile enchant.pc -enchant.spec lib/Makefile src/libenchant.rc src/Makefile diff --git a/enchant.spec.in b/enchant.spec.in deleted file mode 100644 index 1b25cc0..0000000 --- a/enchant.spec.in +++ /dev/null @@ -1,96 +0,0 @@ -%define name enchant -%define version @VERSION@ -%define release 1 - -Summary: An Enchanting Spell Checking Library - -Name: %{name} -Version: %{version} -Release: %{release} -Group: System Environment/Libraries -License: LGPL - -Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libenchant/%{name}-%{version}.tar.gz -Buildroot: /var/tmp/%{name}-%{version}-%{release}-root -URL: http://www.abisource.com/ - -Requires: glib2 >= 2.0.0 -BuildRequires: glib2-devel >= 2.0.0 - -%description -A library that wraps other spell checking backends. - -%package devel -Summary: Support files necessary to compile applications with libenchant. -Group: Development/Libraries -Requires: enchant - -%description devel -Libraries, headers, and support files necessary to compile applications using libenchant. - -%prep - -%setup - -%build -%ifarch alpha - MYARCH_FLAGS="--host=alpha-redhat-linux" -%endif - -if [ ! -f configure ]; then -CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix} -fi -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) - %__make -else -%__make -fi - -%install -if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi -%__make DESTDIR=$RPM_BUILD_ROOT install -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* -%{_prefix}/man/man1/enchant.1.gz -%{!?_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 -%{!?_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 - -* Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com> -- Initial version |