]> git.pld-linux.org Git - packages/enchant2.git/commitdiff
- updated to 2.6.9, package apidocs master auto/th/enchant2-2.6.9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Apr 2024 20:04:10 +0000 (22:04 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 28 Apr 2024 20:04:10 +0000 (22:04 +0200)
enchant2.spec

index a24df623c9f3bce76cfda2e5bdbd1fb41357c657..0d1878313f89dacd4cd27bd76dc81bb3df235149 100644 (file)
@@ -5,13 +5,13 @@
 Summary:       libenchant - generic spell checking library
 Summary(pl.UTF-8):     libenchant - ogólna biblioteka sprawdzania pisowni
 Name:          enchant2
-Version:       2.6.1
+Version:       2.6.9
 Release:       1
 License:       LGPL v2+
 Group:         Libraries
 #Source0Download: https://github.com/AbiWord/enchant/releases
 Source0:       https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
-# Source0-md5: b22bc2ce92f74456f40acc9ce87be1a9
+# Source0-md5: 2200119317326bce456a7c831376ca6a
 Patch0:                %{name}-link.patch
 URL:           https://github.com/AbiWord/enchant
 BuildRequires: aspell-devel >= 2:0.50.0
@@ -28,6 +28,7 @@ BuildRequires:        libtool >= 2:2
 BuildRequires: libvoikko-devel
 BuildRequires: nuspell-devel >= 5.1.0
 BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
 Requires:      glib2 >= 1:2.12.0
 Suggests:      %{name}-backend
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -99,6 +100,18 @@ Static enchant library.
 %description static -l pl.UTF-8
 Statyczna biblioteka enchant.
 
+%package apidocs
+Summary:       API documentation for Enchant 2 library
+Summary(pl.UTF-8):     Dokumentacja API biblioteki Enchant 2
+Group:         Documentation
+BuildArch:     noarch
+
+%description apidocs
+API documentation for Enchant 2 library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Enchant 2.
+
 %package aspell
 Summary:       aspell provider module for Enchant
 Summary(pl.UTF-8):     Moduł obsługujący aspella dla Enchanta
@@ -198,15 +211,13 @@ Moduł obsługujący backend zemberek (turecki) dla Enchanta.
        --with-nuspell \
        --with-zemberek
 
-%{__make} \
-       pkgdatadir=%{_datadir}/enchant-2
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       pkgdatadir=%{_datadir}/enchant-2
+       DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
@@ -215,6 +226,8 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with static_libs}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/enchant-2/*.a
 %endif
+# HTML version of man pages
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/enchant/enchant*.html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -247,6 +260,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libenchant-2.a
 %endif
 
+%files apidocs
+%defattr(644,root,root,755)
+%doc doxygen/html/{search,*.css,*.html,*.js,*.png}
+
 %files aspell
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/enchant-2/enchant_aspell.so
This page took 0.178623 seconds and 4 git commands to generate.