libgtkhtml3/libgtkhtml3.spec

184 lines
5.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f 1-2)
%define libver 3.14
Name: libgtkhtml3
Version: 3.32.2
Release: 4mamba
Summary: A lightweight HTML rendering/printing/editing engine
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org/
Source: https://download.gnome.org/sources/gtkhtml/%{majver}/gtkhtml-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: iso-codes-devel
BuildRequires: libGConf-devel
BuildRequires: libORBit2-devel
BuildRequires: libXcursor-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libenchant1-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libsystemd-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: libtasn1-devel
Provides: libgnome-gtkhtml = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libgnome-gtkhtml < 3.32.2-4mamba
Provides: gtkhtml = %{?epoch:%epoch:}%{version}-%{release}
%description
GtkHTML is a lightweight HTML rendering/printing/editing engine.
It was originally based on KHTMLW, but is now being developed independently of it.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Provides: libgnome-gtkhtml-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libgnome-gtkhtml-devel < 3.32.2-4mamba
Provides: gtkhtml-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GtkHTML is a lightweight HTML rendering/printing/editing engine.
It was originally based on KHTMLW, but is now being developed independently of it.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n gtkhtml-%{version}
%build
%configure \
--enable-file-chooser \
--enable-static \
--disable-deprecated-warning-flags \
--program-suffix=-3
export tagname=CC
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%find_lang gtkhtml-%{libver}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f gtkhtml-%{libver}.lang
%defattr(-,root,root)
%{_libdir}/libgtkhtml-%{libver}.so.*
%{_libdir}/libgtkhtml-editor-%{libver}.so.*
%{_datadir}/gtkhtml-%{libver}/
%doc AUTHORS BUGS COPYING COPYING.LIB ChangeLog NEWS README TODO
%files devel
%defattr(-,root,root)
%{_bindir}/gtkhtml-editor-test-3
%dir %{_includedir}/libgtkhtml-%{libver}
%{_includedir}/libgtkhtml-%{libver}/*
%{_libdir}/libgtkhtml-%{libver}*.a
%{_libdir}/libgtkhtml-%{libver}*.so
%{_libdir}/libgtkhtml-editor-%{libver}*.a
%{_libdir}/libgtkhtml-editor-%{libver}*.so
%{_libdir}/pkgconfig/libgtkhtml-%{libver}.pc
%{_libdir}/pkgconfig/gtkhtml-editor-%{libver}.pc
%changelog
* Thu Nov 02 2023 Automatic Build System <autodist@mambasoft.it> 3.32.2-4mamba
- automatic rebuild by autodist
* Wed Aug 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.2-3mamba
- rebuilt with enchant 1.6.0 to fix .la file
* Mon Jul 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.2-2mamba
- rebuilt wit program-suffix=-3 to remove conflict with libgtkhtml 4
* Thu Feb 10 2011 Automatic Build System <autodist@mambasoft.it> 3.32.2-1mamba
- automatic update by autodist
* Mon Nov 22 2010 Automatic Build System <autodist@mambasoft.it> 3.32.1-1mamba
- automatic update by autodist
* Mon Nov 08 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.0-1mamba
- update to 3.32.0
* Sat Aug 21 2010 Automatic Build System <autodist@mambasoft.it> 3.30.3-1mamba
- automatic update by autodist
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 3.30.2-1mamba
- automatic update by autodist
* Thu May 13 2010 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
- automatic update to 3.30.1 by autodist
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 3.28.2-1mamba
- automatic update by autodist
* Sat Oct 24 2009 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
- automatic update by autodist
* Thu Oct 08 2009 Automatic Build System <autodist@mambasoft.it> 3.28.0-1mamba
- automatic update to 3.28.0 by autodist
* Mon Jul 06 2009 Automatic Build System <autodist@mambasoft.it> 3.26.3-1mamba
- automatic update by autodist
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 3.26.2-1mamba
- automatic update by autodist
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26.1.1-1mamba
- automatic update by autodist
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26.0-1mamba
- update to 3.26.0
* Tue Mar 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.24.5-1mamba
- automatic update by autodist
* Tue Jan 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.24.2-1mamba
- automatic update by autodist
* Sun Sep 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.24.0-1mamba
- update to 3.24.0
* Fri Apr 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.1-1mamba
- update to 3.18.1
* Sun Sep 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.3-1mamba
- update to 3.14.3
* Thu Jan 11 2007 Davide Madrisan <davide.madrisan@qilinux.it> 3.12.2-2qilnx
- package renamed to libgtkhtml3
* Wed Jan 10 2007 Davide Madrisan <davide.madrisan@qilinux.it> 3.12.2-1qilnx
- update to version 3.12.2 by autospec
- updated specfile to permit automatic building
- obsolete libgtkhtml
* Sun Sep 17 2006 Tiziano Pratellesi <info@mycare.it> 3.12.0-1qilnx
- package created by autospec