base-specs/libgtkhtml.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17865 b7ff02e93f66
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package libgtkhtml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16427
diff changeset
     8
%define owner erwannc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 13073
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 13073
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         libgtkhtml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
License:      LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:        System/Libraries/GNOME
10541
df3ab00ff9f5 2007-09-20 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    16
Version:      2.11.1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    19
Vendor:       Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:      Library for HTML support in GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source:       http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/libgtkhtml-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
URL:          http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Docdir:       %{_docdir}/libgtkhtml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%define gtk2_version 2.2.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define libxml2_version 2.4.23
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%define gail_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: libxml2 >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: gail >= %{gail_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires: libxml2-devel >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: gail-devel >= %{gail_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Summary:      Development Library for HTML support in GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Group:        Development/Libraries/GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires:     %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires:     gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires:     libxml2-devel >= %{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires:     gail-devel >= %{gail_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%setup -q 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
libtoolize --copy --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
aclocal -I %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
CFLAGS="$RPM_OPT_FLAGS"				\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
./configure --prefix=%{_prefix}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
	    --sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
12147
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
    81
#%check
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
    82
make check
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
    83
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%clean 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
/sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%files 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_libdir}/*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_libdir}/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_libdir}/pkgconfig/*.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{_includedir}/gtkhtml-2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%changelog
12147
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
   104
* Wed Apr 16 2008 - [email protected]
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
   105
- Add 'make check' call after %install.
f554585bef3d 2008-04-16 Damien Carbery <[email protected]>
dcarbery
parents: 10541
diff changeset
   106
10541
df3ab00ff9f5 2007-09-20 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   107
* Thu Sep 20 2007 - [email protected]
df3ab00ff9f5 2007-09-20 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   108
- Bump to 2.11.1.
df3ab00ff9f5 2007-09-20 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   109
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Wed Dec 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Bump to 2.11.0. Remove upstream patch, 01-keynav-crash.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
* Wed Jun 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- Add patch pkgconfig.diff to add glib-2.0 to the list of dependent modules
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- autotoolize
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
* Wed May 18 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- Bump to 2.6.3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Wed Mar 23 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Add patch libgtkhtml-07-keynav-crash.diff fixes the issue of yelp
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
  crashing with keynav/mouse highlighting. Fixes #6229854.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Fri Dec 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Add patch libgtkhtml-06-toggle-cursor.diff for bugzilla #160705.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Thu Nov 25 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Add patch libgtkhtml-05-link-focus.diff for bug #6190671.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Fri Nov 05 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Add patch -04-hand-symbol.diff : #5032857
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Thu Nov 04 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Add patch libgtkhtml-03-fix-move.diff for bug #6190222.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Wed Oct 27 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Add patch libgtkhtml-02-fix-crash.diff for bug #6185204.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Fri Jul 23 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Add patch libgtkhtml-01-fix-speech.diff for bugzilla #143502
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Mon Jul 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- ported to rpm4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
* Wed Jul 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
- added "-j $CPUS" to make to speed up builds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Tue Jun 08 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Upgrade tarball to 2.6.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
* Thu May 06 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
- Upgrade tarball to 2.6.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
* Mon Apr 05 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
- Upgrade tarball to 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
* Thu Mar 18 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
- Upgrade tarball to 2.5.6
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
* Tue Feb 24 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
- Upgrade tarball to 2.5.5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
* Thu Feb 05 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
- Upgrade tarball to 2.5.3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
* Tue Dec 16 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
- Upgrade tarball to 2.5.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
* Tue Oct 14 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
- Upgrade tarball to 2.4.1 for QS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
* Thu Aug 14 2003 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
- remove *.a, *.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
* Tue May 13 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
- Initial Sun release