libgtkhtml.spec
author dermotm
Mon, 24 Jul 2006 12:30:39 +0000
branchgnome-2-10
changeset 19949 94f49bf19351
parent 19693 ecfa915b40d9
permissions -rw-r--r--
access control test #4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     1
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     2
# spec file for package libgtkhtml
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     3
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     5
# This file and all modifications and additions to the pristine
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     6
# package are under the same license as the package itself.
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
     7
#
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
     8
Name:         libgtkhtml
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
     9
License:      LGPL
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    10
Group:        System/Libraries/GNOME
19318
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    11
Version:      2.6.3
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    12
Release:      1
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19691
diff changeset
    13
Distribution: Java Desktop System
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
    14
Vendor:       Sun Microsystems, Inc.
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    15
Summary:      Library for HTML support in GNOME
19318
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    16
Source:       http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.6/libgtkhtml-%{version}.tar.bz2
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
    17
Patch1:       libgtkhtml-01-keynav-crash.diff
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    18
URL:          http://www.gnome.org
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    19
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    20
Docdir:       %{_docdir}/libgtkhtml
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    21
Autoreqprov:  on
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    22
1260
c18457d3a31a Upgrade Tarball to 2.4.1 for QS
mattk
parents: 1195
diff changeset
    23
%define gtk2_version 2.2.4
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    24
%define libxml2_version 2.4.23
4340
437225093a91 2004-10-27 Padraig O'Briain <[email protected]>
padraigo
parents: 4276
diff changeset
    25
%define gail_version 1.8.0
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    26
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    27
Requires: gtk2 >= %{gtk2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    28
Requires: libxml2 >= %{libxml2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    29
Requires: gail >= %{gail_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    30
BuildRequires: gtk2-devel >= %{gtk2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    31
BuildRequires: libxml2-devel >= %{libxml2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    32
BuildRequires: gail-devel >= %{gail_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    33
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    34
%description
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    35
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    36
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    37
%package devel
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    38
Summary:      Development Library for HTML support in GNOME
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    39
Group:        Development/Libraries/GNOME
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    40
Requires:     %{name} = %{version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    41
Requires:     gtk2-devel >= %{gtk2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    42
Requires:     libxml2-devel >= %{libxml2_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    43
Requires:     gail-devel >= %{gail_version}
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    44
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    45
%description devel
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    46
libgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    47
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    48
%prep
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    49
%setup -q 
3405
44c470703116 2004-07-23 Padraig O'Briain <[email protected]>
padraigo
parents: 3320
diff changeset
    50
%patch1 -p1
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4434
diff changeset
    51
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    52
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    58
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    62
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    63
19435
822ebcc981ab 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19433
diff changeset
    64
libtoolize --copy --force
822ebcc981ab 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19433
diff changeset
    65
aclocal -I %{_datadir}/aclocal
822ebcc981ab 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19433
diff changeset
    66
automake -a -c -f
19433
f4c1e6617f94 run autoconf so that the patch actually does something
laca
parents: 19432
diff changeset
    67
autoconf
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    68
CFLAGS="$RPM_OPT_FLAGS"				\
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    69
./configure --prefix=%{_prefix}			\
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    70
	    --sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    71
make -j $CPUS
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    72
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    73
%install
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    74
make DESTDIR=$RPM_BUILD_ROOT install
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    75
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    76
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.la
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    77
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    78
%clean 
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    79
rm -rf $RPM_BUILD_ROOT
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    80
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    81
%post
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    82
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    83
211
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    84
%postun
dec28915b182 2003-05-29 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    85
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    86
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    87
%files 
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    88
%defattr(-, root, root)
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    89
%{_libdir}/*.so.*
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    90
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    91
%files devel
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    92
%defattr(-, root, root)
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    93
%{_libdir}/*.so
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    94
%{_libdir}/pkgconfig/*.pc
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    95
%{_includedir}/gtkhtml-2.0
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
    96
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
    97
%changelog
19432
4620c12cc676 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19318
diff changeset
    98
* Wed Jun 15 2005 - [email protected]
4620c12cc676 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19318
diff changeset
    99
- Add patch pkgconfig.diff to add glib-2.0 to the list of dependent modules
19435
822ebcc981ab 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19433
diff changeset
   100
- autotoolize
19432
4620c12cc676 2005-06-15 Laszlo Peter <[email protected]>
laca
parents: 19318
diff changeset
   101
19318
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
   102
* Wed May 18 2005 - [email protected]
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
   103
- Bump to 2.6.3
7243ed4b895c 2005-05-18 Glynn Foster <[email protected]>
gman
parents: 5370
diff changeset
   104
5268
ba62d7374175 2005-03-23 Vinay M R <[email protected]>
vinaymr
parents: 5237
diff changeset
   105
* Wed Mar 23 2005 - [email protected]
ba62d7374175 2005-03-23 Vinay M R <[email protected]>
vinaymr
parents: 5237
diff changeset
   106
- Add patch libgtkhtml-07-keynav-crash.diff fixes the issue of yelp
ba62d7374175 2005-03-23 Vinay M R <[email protected]>
vinaymr
parents: 5237
diff changeset
   107
  crashing with keynav/mouse highlighting. Fixes #6229854.
ba62d7374175 2005-03-23 Vinay M R <[email protected]>
vinaymr
parents: 5237
diff changeset
   108
4739
3ba2d9270d36 2004-12-13 Padraig O'Briain <[email protected]>
padraigo
parents: 4689
diff changeset
   109
* Fri Dec 13 2004 - [email protected]
3ba2d9270d36 2004-12-13 Padraig O'Briain <[email protected]>
padraigo
parents: 4689
diff changeset
   110
- Add patch libgtkhtml-06-toggle-cursor.diff for bugzilla #160705.
3ba2d9270d36 2004-12-13 Padraig O'Briain <[email protected]>
padraigo
parents: 4689
diff changeset
   111
4646
33ec148869fd 2004-11-25 Padraig O'Briain <[email protected]>
padraigo
parents: 4579
diff changeset
   112
* Thu Nov 25 2004 - [email protected]
33ec148869fd 2004-11-25 Padraig O'Briain <[email protected]>
padraigo
parents: 4579
diff changeset
   113
- Add patch libgtkhtml-05-link-focus.diff for bug #6190671.
33ec148869fd 2004-11-25 Padraig O'Briain <[email protected]>
padraigo
parents: 4579
diff changeset
   114
4459
020579176092 #5032857, reviewed by [email protected]
mattk
parents: 4455
diff changeset
   115
* Fri Nov 05 2004 - [email protected]
020579176092 #5032857, reviewed by [email protected]
mattk
parents: 4455
diff changeset
   116
- Add patch -04-hand-symbol.diff : #5032857
020579176092 #5032857, reviewed by [email protected]
mattk
parents: 4455
diff changeset
   117
020579176092 #5032857, reviewed by [email protected]
mattk
parents: 4455
diff changeset
   118
* Thu Nov 04 2004 - [email protected]
4434
0cde8bb83cd6 2004-11-04 Padraig O'Briain <[email protected]>
padraigo
parents: 4409
diff changeset
   119
- Add patch libgtkhtml-03-fix-move.diff for bug #6190222.
0cde8bb83cd6 2004-11-04 Padraig O'Briain <[email protected]>
padraigo
parents: 4409
diff changeset
   120
4340
437225093a91 2004-10-27 Padraig O'Briain <[email protected]>
padraigo
parents: 4276
diff changeset
   121
* Wed Oct 27 2004 - [email protected]
437225093a91 2004-10-27 Padraig O'Briain <[email protected]>
padraigo
parents: 4276
diff changeset
   122
- Add patch libgtkhtml-02-fix-crash.diff for bug #6185204.
437225093a91 2004-10-27 Padraig O'Briain <[email protected]>
padraigo
parents: 4276
diff changeset
   123
3405
44c470703116 2004-07-23 Padraig O'Briain <[email protected]>
padraigo
parents: 3320
diff changeset
   124
* Fri Jul 23 2004 - [email protected]
44c470703116 2004-07-23 Padraig O'Briain <[email protected]>
padraigo
parents: 3320
diff changeset
   125
- Add patch libgtkhtml-01-fix-speech.diff for bugzilla #143502
44c470703116 2004-07-23 Padraig O'Briain <[email protected]>
padraigo
parents: 3320
diff changeset
   126
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   127
* Mon Jul 12 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   128
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   129
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   130
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   131
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   132
3050
17fca2c06cc9 Bump to 2.6.2
mattk
parents: 2958
diff changeset
   133
* Tue Jun 08 2004 - <[email protected]>
17fca2c06cc9 Bump to 2.6.2
mattk
parents: 2958
diff changeset
   134
- Upgrade tarball to 2.6.2
17fca2c06cc9 Bump to 2.6.2
mattk
parents: 2958
diff changeset
   135
2658
40f7dc78db98 Bump to 2.6.1
mattk
parents: 2619
diff changeset
   136
* Thu May 06 2004 - <[email protected]>
40f7dc78db98 Bump to 2.6.1
mattk
parents: 2619
diff changeset
   137
- Upgrade tarball to 2.6.1
40f7dc78db98 Bump to 2.6.1
mattk
parents: 2619
diff changeset
   138
2392
7913b5d7b17a Bump to 2.6.0
mattk
parents: 2280
diff changeset
   139
* Mon Apr 05 2004 - <[email protected]>
7913b5d7b17a Bump to 2.6.0
mattk
parents: 2280
diff changeset
   140
- Upgrade tarball to 2.6.0
7913b5d7b17a Bump to 2.6.0
mattk
parents: 2280
diff changeset
   141
2240
d7bd760c9569 Bump to 2.5.6
mattk
parents: 2159
diff changeset
   142
* Thu Mar 18 2004 - <[email protected]>
d7bd760c9569 Bump to 2.5.6
mattk
parents: 2159
diff changeset
   143
- Upgrade tarball to 2.5.6
d7bd760c9569 Bump to 2.5.6
mattk
parents: 2159
diff changeset
   144
1937
b5c5f19de59d Bump to 2.5.5
mattk
parents: 1876
diff changeset
   145
* Tue Feb 24 2004 - <[email protected]>
b5c5f19de59d Bump to 2.5.5
mattk
parents: 1876
diff changeset
   146
- Upgrade tarball to 2.5.5
b5c5f19de59d Bump to 2.5.5
mattk
parents: 1876
diff changeset
   147
1580
c83114e1e688 *** empty log message ***
mattk
parents: 1543
diff changeset
   148
* Thu Feb 05 2004 - <[email protected]>
c83114e1e688 *** empty log message ***
mattk
parents: 1543
diff changeset
   149
- Upgrade tarball to 2.5.3
c83114e1e688 *** empty log message ***
mattk
parents: 1543
diff changeset
   150
1452
6bff418371c5 2003-12-16 Glynn Foster <[email protected]>
gman
parents: 1260
diff changeset
   151
* Tue Dec 16 2003 - <[email protected]>
6bff418371c5 2003-12-16 Glynn Foster <[email protected]>
gman
parents: 1260
diff changeset
   152
- Upgrade tarball to 2.5.1
6bff418371c5 2003-12-16 Glynn Foster <[email protected]>
gman
parents: 1260
diff changeset
   153
1260
c18457d3a31a Upgrade Tarball to 2.4.1 for QS
mattk
parents: 1195
diff changeset
   154
* Tue Oct 14 2003 - <[email protected]>
c18457d3a31a Upgrade Tarball to 2.4.1 for QS
mattk
parents: 1195
diff changeset
   155
- Upgrade tarball to 2.4.1 for QS
c18457d3a31a Upgrade Tarball to 2.4.1 for QS
mattk
parents: 1195
diff changeset
   156
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   157
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   158
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   159
63
b6f61211d81f *** empty log message ***
mattk
parents:
diff changeset
   160
* Tue May 13 2003 - [email protected]
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 63
diff changeset
   161
- Initial Sun release