gspell/gspell.spec

157 lines
4.7 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: gspell
Version: 1.14.0
Release: 1mamba
Summary: A spell-checking library for GTK+ applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/
Source: https://download.gnome.org/sources/gspell/%{majver}/gspell-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libenchant-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
BuildRequires: gtk-doc >= 1.25
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A spell-checking library for GTK+ applications.
%package -n lib%{name}
Group: System/Libraries
Summary: A spell-checking library for GTK+ applications
%description -n lib%{name}
A spell-checking library for GTK+ applications.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-D install_tests=false
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name}-1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name} -f %{name}-1.lang
%defattr(-,root,root)
%{_libdir}/libgspell-1.so.*
%{_libdir}/girepository-1.0/Gspell-1.typelib
%doc AUTHORS LICENSES
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/gspell-app1
%dir %{_includedir}/gspell-1
%dir %{_includedir}/gspell-1/gspell
%{_includedir}/gspell-1/gspell/*.h
%{_libdir}/libgspell-1.so
%{_datadir}/vala/vapi/gspell-1.deps
%{_datadir}/vala/vapi/gspell-1.vapi
%{_libdir}/pkgconfig/gspell-1.pc
%{_datadir}/gir-1.0/Gspell-1.gir
%doc NEWS README.md
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gspell-1
%{_datadir}/gtk-doc/html/gspell-1/*
%changelog
* Fri Sep 13 2024 Automatic Build System <autodist@openmamba.org> 1.14.0-1mamba
- automatic version update by autodist
* Tue Aug 20 2024 Automatic Build System <autodist@openmamba.org> 1.13.1-1mamba
- automatic version update by autodist
* Sat Jul 29 2023 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
- automatic version update by autodist
* Mon May 01 2023 Automatic Build System <autodist@mambasoft.it> 1.12.1-1mamba
- automatic version update by autodist
* Sat Oct 01 2022 Automatic Build System <autodist@mambasoft.it> 1.12.0-1mamba
- automatic version update by autodist
* Sun Jun 12 2022 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
- automatic version update by autodist
* Wed Apr 20 2022 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- automatic version update by autodist
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sat Sep 26 2020 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic update by autodist
* Mon Jan 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
- update to 1.8.3
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Sat Jun 16 2018 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Sun Mar 25 2018 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Fri Jan 26 2018 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
- automatic version update by autodist
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
- update to 1.6.1
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic update by autodist
* Sun Jun 25 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.4.1-1mamba
- update to 1.4.1
* Tue Nov 08 2016 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Mon Nov 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- apidocs: don't require gspell package
* Sat Nov 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface