SUNWliboil.spec
author yippi
Fri, 28 Mar 2008 01:36:11 +0000
changeset 11937 1c2548ce7ef9
parent 9586 21ec49e72013
child 13574 164d399fe546
permissions -rw-r--r--
2008-03-27 Brian Cameron <[email protected]> * SUNWdbus.spec, SUNWdbus-bindings.spec, SUNWgnome-audio.spec, SUNWgnome-cd.spec, SUNWgnome-display-mgr.spec, SUNWlibcroco.spec SUNWliboil.spec: Add SUNW_Copyright. * copyright/SUNWdbus.copyright, copyright/SUNWdbus-bindings.copyright, copyright/SUNWgnome-audio.copyright, copyright/SUNWgnome-cd.copyright, copyright/SUNWgnome-display-mgr.copyright, copyright/SUNWlibcroco.copyright, copyright/SUNWliboil.copyright: New files.
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 SUNWliboil
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
# includes module(s): liboil
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 9586
diff changeset
     6
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# 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
     8
# 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
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
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
%use liboil = liboil.spec
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
Name:                    SUNWliboil
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME structured file library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{liboil.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 9586
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRequires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%ifarch amd64 i386
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgcc
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    30
Requires: SUNWgccruntime
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%endif
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 devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%include default-depend.inc
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%liboil.prep -d %name-%version
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
# Note, on x86 build with gcc since liboil contains GCC-style assembly
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
# code which won't compile with Sun Studio.  For better performance,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
# we use GCC here.
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%ifarch i386
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
export CC=gcc
9586
21ec49e72013 2007-03-19 Doug Scott <[email protected]>
drdoug
parents: 9568
diff changeset
    53
export CFLAGS="-O2 -march=i586 -Xlinker -i -fno-omit-frame-pointer -fPIC -DPIC"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%liboil.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%liboil.install -d %name-%version
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
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
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
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%{_libdir}/lib*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_datadir}/gtk-doc/html/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%{_libdir}/pkgconfig/*
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
%changelog
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 9586
diff changeset
    84
* Thu Mar 27 2008 - [email protected]
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 9586
diff changeset
    85
- Add SUNW_Copyright.
9586
21ec49e72013 2007-03-19 Doug Scott <[email protected]>
drdoug
parents: 9568
diff changeset
    86
* Mon Mar 19 2007 - [email protected]
21ec49e72013 2007-03-19 Doug Scott <[email protected]>
drdoug
parents: 9568
diff changeset
    87
- Fixed -fno-omit-frame-pointer flag
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    88
* Thu Mar 15 2007 - [email protected]
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    89
- Add Requires SUNWgccruntime after check-deps.pl run.
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    90
* Mon Feb 12 2007 - [email protected]
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
- Fix building with gcc based on Laca's comments.
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    92
* Wed Jan 31 2007 - [email protected]
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- Build with gcc so that on x86 we compile hardware acceleration GCC asm code.
9568
deb9c2d524d2 2007-03-15 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    94
* Wed Jun 14 2007 - [email protected]
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Add new bindir files included in 0.3.9.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- Change build dependency on SUNWgnome-base-libs-share. That pkg is obsolete
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
  with files now in the base package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
* Thu Mar 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
- Updated Package Summary
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Fri Mar 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- Updated Package Summary
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Wed Oct 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- Created.