base-specs/liboil.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16430 1630b44703c8
child 17283 709178528816
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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 liboil
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
11717
b1a3d427860f 2008-02-26 Brian Cameron <[email protected]>
yippi
parents: 11134
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
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
# bugdb: bugzilla.freedesktop.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15502
diff changeset
    11
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15502
diff changeset
    12
%define OSR 8733:0.3.14
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15502
diff changeset
    13
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
##   Package Information Section   ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Name:			liboil
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 13568
diff changeset
    19
License:		BSD, MIT, Motorola
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Group:			System/Libraries
15502
3d65beaa5224 2009-03-26 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
    21
Version:		0.3.16
11717
b1a3d427860f 2008-02-26 Brian Cameron <[email protected]>
yippi
parents: 11134
diff changeset
    22
Release:	 	1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Distribution:		Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Vendor:			Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Summary:		The GNOME Structured File Library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Source:			http://liboil.freedesktop.org/download/%{name}-%version.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
URL:			http://liboil.freedesktop.org/wiki/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Autoreqprov:		on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Prereq:                 /sbin/ldconfig
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
##     Package Defines Section     ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%define			glib2_version	2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%define			zlib_version	1.2.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%define			libxml2_version	2.6.7
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%define			bzip2_version	1.0.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%define			libbonobo_version	2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%define			gnome_vfs_version	2.6.0
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
##  Package Requirements Section   ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires:		glib2	>=	%{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires:		libxml2	>=	%{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
BuildRequires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
BuildRequires:		libxml2-devel	>=	%{libxml2_version}
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
##   Package Description Section   ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
liboil is a library of simple functions, generally loops, that are optimized
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
for various CPU's.  These functions are typically used by media applications
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
to improve performance.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
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
##   Package Development Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
Summary:		liboil development headers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
Group:			Development/Libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
Requires:		%{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
Requires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
Requires:		libxml2-devel	>=	%{libxml2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
Requires:		zlib-devel	>=	%{zlib_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
Requires:		bzip2	>=	%{bzip2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
Requires:		libbonobo-devel	>=	%{libbonobo_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
Requires:		gnome-vfs-devel	>=	%{gnome_vfs_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
liboil development headers
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
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
##   Package Preparation Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%setup -q
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
#####################################
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
##      Package Build Section      ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
  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
    99
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
aclocal $ACLOCAL_FLAGS -I ./m4
11134
803cf15a066b 2007-11-06 Brian Cameron <[email protected]>
yippi
parents: 10028
diff changeset
   105
autoheader
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
CFLAGS="$RPM_OPT_FLAGS"			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
./configure --prefix=%{_prefix}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
	    --bindir=%{_bindir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
	    --libdir=%{_libdir}			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
            --includedir=%{_includedir}         \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
	    --sysconfdir=%{_sysconfdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
	    %{gtk_doc_option}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
make
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
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
#Clean up unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
rm $RPM_BUILD_ROOT%{_libdir}/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
rm $RPM_BUILD_ROOT%{_libdir}/*.la
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
rm -rf $RPM_BUILD_ROOT
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
##  Package Post[Un] Install Section   ##
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
#########################################
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
%post
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
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
/sbin/ldconfig
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
##      Package Files Section      ##
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
%{_libdir}/*.so.*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
%{_libdir}/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
%{_datadir}/gtk-doc/*
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
%changelog
15502
3d65beaa5224 2009-03-26 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
   152
* Thu Mar 26 2009 - [email protected]
3d65beaa5224 2009-03-26 Brian Cameron <[email protected]>
yippi
parents: 14571
diff changeset
   153
- Bump to 0.3.16.
13568
7bf4c49b8043 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 11916
diff changeset
   154
* Fri Sep 12 2008 - [email protected]
7bf4c49b8043 2008-09-12 Brian Cameron <[email protected]>
yippi
parents: 11916
diff changeset
   155
- Bump to 0.3.15.
11916
ea5e343cad5e 2008-03-26 Brian Cameron <[email protected]>
yippi
parents: 11743
diff changeset
   156
* Wed Mar 26 2008 - [email protected]
ea5e343cad5e 2008-03-26 Brian Cameron <[email protected]>
yippi
parents: 11743
diff changeset
   157
- Bump to 0.3.14.
11743
3547dd401d5c 2008-02-27 Brian Cameron <[email protected]>
yippi
parents: 11717
diff changeset
   158
* Wed Feb 27 2008 - [email protected]
3547dd401d5c 2008-02-27 Brian Cameron <[email protected]>
yippi
parents: 11717
diff changeset
   159
- Add patch liboil-02-fixcopy.diff to fix bug 14643.
11717
b1a3d427860f 2008-02-26 Brian Cameron <[email protected]>
yippi
parents: 11134
diff changeset
   160
* Mon Feb 25 2008 - [email protected]
b1a3d427860f 2008-02-26 Brian Cameron <[email protected]>
yippi
parents: 11134
diff changeset
   161
- Bump to 0.3.13 and remove upstream patch.
10028
ead4d5496427 2007-06-08 Brian Cameron <[email protected]>
yippi
parents: 9450
diff changeset
   162
* Fri Jun 08 2007 - [email protected]
ead4d5496427 2007-06-08 Brian Cameron <[email protected]>
yippi
parents: 9450
diff changeset
   163
- Bump to 0.3.12 and remove upstream patch.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
* Fri Feb 09 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
- Add patch to support hardware acelleration detection on x86 when
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
  building with GCC.  Also add bugdb info.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
- Bump to 0.3.10.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
* Fri Nov  3 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
- use %gtk_doc_option in configure so that it can be disabled using
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
  --without-gtk-doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
* Wed Jun 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
- Bump to 0.3.9.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
* Tue Jan 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
- Bump to 0.3.6.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
* Wed Jul 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
- Created.