]> git.pld-linux.org Git - packages/aspell.git/blobdiff - aspell.spec
- updated to 0.60.8.1
[packages/aspell.git] / aspell.spec
index e005ba49af03782e88e968c31fac448c0f5ae600..09d169840c1a50a5d32c7402b48f44c6ce69796a 100644 (file)
@@ -2,29 +2,28 @@ Summary:      GNU Aspell is an Open Source spell checker
 Summary(pl.UTF-8):     GNU Aspell jest kontrolerem pisowni
 Summary(pt_BR.UTF-8):  Verificador ortográfico
 Name:          aspell
-Version:       0.60.6
-Release:       4.1
+Version:       0.60.8.1
+Release:       1
 Epoch:         3
 License:       LGPL v2 or v2.1
 Group:         Applications/Text
-Source0:       http://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
-# Source0-md5: bc80f0198773d5c05086522be67334eb
+Source0:       https://ftp.gnu.org/gnu/aspell/%{name}-%{version}.tar.gz
+# Source0-md5: 187bd142f522ada555c7aa6b9cbf56e6
 Patch0:                %{name}-info.patch
-# Patch1:              %{name}-home_etc.patch
-Patch2:                %{name}-mk-static-filter.pl.patch
-Patch3:                %{name}-ac.patch
+Patch1:                %{name}-ac.patch
+#Patch2:               %{name}-home_etc.patch
 URL:           http://aspell.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: gettext-devel >= 0.16.1
-BuildRequires: ncurses-devel
+BuildRequires: gettext-tools >= 0.19.3
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:1.5
+BuildRequires: ncurses-devel
 BuildRequires: texinfo
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Provides:      pspell = %{epoch}:%{version}-%{release}
 Obsoletes:     libaspell15
-Obsoletes:     pspell
+Obsoletes:     pspell < 2:13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -71,7 +70,7 @@ Requires:     %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      libstdc++-devel
 Provides:      pspell-devel = %{epoch}:%{version}-%{release}
 Obsoletes:     libaspell15-devel
-Obsoletes:     pspell-devel
+Obsoletes:     pspell-devel < 2:13
 
 %description devel
 Aspell is an Open Source spell checker. This package contains header
@@ -93,7 +92,7 @@ Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento usando Aspell
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
 Provides:      pspell-static = %{epoch}:%{version}-%{release}
-Obsoletes:     pspell-static
+Obsoletes:     pspell-static < 2:13
 
 %description static
 Aspell is an Open Source spell checker. This package contains static
@@ -111,13 +110,12 @@ aspell.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # home_etc patch is fubar. If HOME_ETC var is not defined, it tries to open
 # such files:
 # open("$HOME|.//.aspell.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
 # Disabled until someone fixes it.
-#%%patch1 -p1
-%patch2 -p0
-%patch3 -p1
+#%%patch2 -p1
 
 %build
 %{__gettextize}
@@ -126,7 +124,6 @@ aspell.
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-shared \
        --enable-static \
        --enable-pkgdatadir=%{_datadir}/aspell \
        --enable-pkglibdir=%{_libdir}/aspell
@@ -148,6 +145,18 @@ rm -rf $RPM_BUILD_ROOT
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%post  devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun        devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README manual/aspell.html
This page took 0.081473 seconds and 4 git commands to generate.