180 lines
5.7 KiB
RPMSpec
180 lines
5.7 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||
|
%define libver 3.14
|
||
|
|
||
|
Name: libgtkhtml3
|
||
|
Version: 3.32.2
|
||
|
Release: 3mamba
|
||
|
Summary: A lightweight HTML rendering/printing/editing engine
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.gnome.org
|
||
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/%{majver}/gtkhtml-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: GConf-devel
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libart_lgpl-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libbonobo-devel
|
||
|
BuildRequires: libbonoboui-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libgail-devel
|
||
|
BuildRequires: libglade-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgnomecanvas-devel
|
||
|
BuildRequires: libgnome-devel
|
||
|
BuildRequires: libgnome-keyring-devel
|
||
|
BuildRequires: libgnomeui-devel
|
||
|
BuildRequires: libgnome-vfs-devel
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libICE-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libpopt-devel
|
||
|
BuildRequires: libSM-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: ORBit2-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: intltool
|
||
|
BuildRequires: perl-XML-Parser
|
||
|
BuildRequires: gettext-devel
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: libtasn1-devel
|
||
|
Obsoletes: libgnome-gtkhtml
|
||
|
Provides: libgnome-gtkhtml = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Provides: gtkhtml = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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
|
||
|
Obsoletes: libgnome-gtkhtml-devel
|
||
|
Provides: libgnome-gtkhtml-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
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 need for development.
|
||
|
|
||
|
%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
|
||
|
%{_libdir}/*.a
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
%{_libdir}/pkgconfig/libgtkhtml-%{libver}.pc
|
||
|
%{_libdir}/pkgconfig/gtkhtml-editor-%{libver}.pc
|
||
|
%{_includedir}/libgtkhtml-%{libver}/
|
||
|
|
||
|
%changelog
|
||
|
* 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
|