base-specs/libcroco.spec
author convert-repo
Tue, 28 Sep 2010 11:41:29 +0000
changeset 20122 34a34bffcb68
parent 19973 f05dadadf325
permissions -rw-r--r--
update tags
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 libcroco
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
19973
f05dadadf325 Fix copyright lines.
yippi
parents: 17864
diff changeset
     4
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
9397
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: 16430
diff changeset
     8
%define owner yippi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15096
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
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15096
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
##   Package Information Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Name:			libcroco
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 13649
diff changeset
    18
License:		LGPL v2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Group:			System/Libraries
15096
88759e030813 Bump to 0.6.2, removed upstreamed patch 01-fixheader.diff
davelam
parents: 14571
diff changeset
    20
Version:		0.6.2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Release:	 	1	
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Distribution:		Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    23
Vendor:			Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Summary:		Cascading Style Sheet (CSS) parsing and manipulation toolkit
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Source:			http://ftp.gnome.org/pub/GNOME/sources/libcroco/0.6/%{name}-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
URL:			http://www.freespiders.org/projects/libcroco/index.html
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Autoreqprov:		on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Prereq:                 /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
##     Package Defines Section     ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%define			glib2_version	2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%define			zlib_version	1.2.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%define			libxml2_version	2.6.7
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%define			bzip2_version	1.0.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%define			libbonobo_version	2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%define			gnome_vfs_version	2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
##  Package Requirements Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires:		glib2	>=	%{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires:		libxml2	>=	%{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
BuildRequires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
BuildRequires:		libxml2-devel	>=	%{libxml2_version}
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
##   Package Description Section   ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
libcroco project aims to build a generic Cascading Style Sheet (CSS) 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
parsing and manipulation toolkit.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
##   Package Development Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Summary:		libcroco development headers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
Group:			Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
Requires:		%{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
Requires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
Requires:		libxml2-devel	>=	%{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
Requires:		zlib-devel	>=	%{zlib_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
Requires:		bzip2	>=	%{bzip2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
Requires:		libbonobo-devel	>=	%{libbonobo_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
Requires:		gnome-vfs-devel	>=	%{gnome_vfs_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
libcroco development headers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
##   Package Preparation Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
##      Package Build Section      ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
  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
    97
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
aclocal $ACLOCAL_FLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
autoconf
13206
dd5c5a2288db 2008-08-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11691
diff changeset
   105
export CFLAGS="%optflags"
dd5c5a2288db 2008-08-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11691
diff changeset
   106
export LDFLAGS="%_ldflags"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
./configure --prefix=%{_prefix}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
	    --bindir=%{_bindir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
	    --libdir=%{_libdir}			\
13578
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 13206
diff changeset
   110
	    --includedir=%{_includedir}		\
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
	    --sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
#Clean up unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
rm $RPM_BUILD_ROOT%{_libdir}/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
rm $RPM_BUILD_ROOT%{_libdir}/*.la
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
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
##  Package Post[Un] Install Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
#########################################
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
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
/sbin/ldconfig
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
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
/sbin/ldconfig
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
##      Package Files Section      ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
%{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
%{_libdir}/*.so.*
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
%{_libdir}/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
%{_libdir}/pkgconfig/*
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
%changelog
15096
88759e030813 Bump to 0.6.2, removed upstreamed patch 01-fixheader.diff
davelam
parents: 14571
diff changeset
   149
* Mon Feb 16 2009 - [email protected]
88759e030813 Bump to 0.6.2, removed upstreamed patch 01-fixheader.diff
davelam
parents: 14571
diff changeset
   150
- Bump to 0.6.2
88759e030813 Bump to 0.6.2, removed upstreamed patch 01-fixheader.diff
davelam
parents: 14571
diff changeset
   151
- Removed upstreamed patch 01-fixheader.diff.
13206
dd5c5a2288db 2008-08-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11691
diff changeset
   152
* Thu Aug 21 2008 - [email protected]
dd5c5a2288db 2008-08-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 11691
diff changeset
   153
- set env variable needed for 64-bit build
11691
bbaf3719e636 Fix typo in comment.
yippi
parents: 11669
diff changeset
   154
* Tue Feb 19 2008 - [email protected]
11669
3349e0fceb82 2008-02-19 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   155
- Add patch libcroco-01-fixheader.diff to fix bug 6549227.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
* Mon Mar  6 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
- Bump to 0.6.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
* Fri Feb 24 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
- Update URL and Summary.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
* Wed Jul 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
 - Created.