SUNWgobject-introspection.spec
author hawklu
Fri, 26 Feb 2010 03:26:31 +0000
branchgnome-2-28
changeset 18643 8c2f88f3d983
parent 18574 2076d7177b7d
child 17821 332d8580d058
permissions -rw-r--r--
2010-02-26 Brian Lu <[email protected]> * SUNWsqlite3.spec: * base-specs/sqlite.spec: * copyright/SUNWsqlite3.copyright: * ext-sources/mapfile-libsqlite3: * ext-sources/pkgIndex.tcl: * manpages/Makefile: * manpages/man1/sqlite3.1: * patches/sqlite3-01-using-mapfile.diff: Ship sqlite3 packages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for package SUNWgobject-introspection
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     4
# includes module(s): gobject-introspection
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
#
18574
2076d7177b7d 2010-01-08 Halton Huo <[email protected]>
davelam
parents: 18532
diff changeset
     6
# Copyright 2010 Sun Microsystems, Inc.
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# package are under the same license as the package itself.
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16424
diff changeset
    10
%define owner yippi
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    11
#
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    12
# Note that there are some issues that you need to address to avoid build
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
# issues when building this module:
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    14
#
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
# 1) For some reason SUNWPython26.spec has a problem with ctypes that causes
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    16
#    gobject-introspection to fail to build.  Uninstalling and rebuilding this
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    17
#    package from spec-files seems to fix this problem. Need to figure this
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    18
#    out and get it fixed in the SUNWPython26 package.
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    19
#
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    20
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    21
%include Solaris.inc
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
%define pythonver 2.6
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    24
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    25
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    26
%include arch64.inc
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    27
%use gi_64 = gobject-introspection.spec
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    28
%endif
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    29
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    30
%include base.inc
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
%use gi = gobject-introspection.spec
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
Name:               SUNWgobject-introspection
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
Summary:            gobject-introspection - GObject introspection support
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
Version:            %{gi.version}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
SUNW_Copyright:     %{name}.copyright
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
SUNW_BaseDir:       %{_basedir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
BuildRequires:      SUNWPython26-devel
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
BuildRequires:      SUNWglib2-devel
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
BuildRequires:      SUNWlibffi
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
Requires:           SUNWglib2
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
Requires:           SUNWlibffi
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
Requires:           SUNWPython26
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
%include default-depend.inc
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
%package devel
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
Summary:            %{summary} - development files
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
SUNW_BaseDir: %{_basedir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
%include default-depend.inc
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    53
%prep
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
rm -rf %name-%version
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    55
mkdir -p %name-%version
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    56
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    57
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    58
mkdir %name-%version/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    59
%gi_64.prep -d %name-%version/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    60
%endif
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    61
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    62
mkdir %name-%version/%{base_arch}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    63
%gi.prep -d %name-%version/%{base_arch}
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%build
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    66
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    67
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    68
export CFLAGS="%optflags64"
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    69
export RPM_OPT_FLAGS="$CFLAGS"
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    70
export LDFLAGS="$FLAG64"
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    71
export PKG_CONFIG_PATH="%_pkg_config_path64"
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    72
%gi_64.build -d %name-%version/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    73
%endif
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    74
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
export CFLAGS="%optflags"
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
export RPM_OPT_FLAGS="$CFLAGS"
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
export LDFLAGS="%_ldflags"
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    78
export PKG_CONFIG_PATH="%_pkg_config_path"
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    79
%gi.build -d %name-%version/%{base_arch}
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
%install
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
rm -rf $RPM_BUILD_ROOT
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    83
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    84
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    85
%gi_64.install -d %name-%version/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    86
%endif
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    87
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
    88
%gi.install -d %name-%version/%{base_arch}
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    89
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    90
%clean
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    91
rm -rf $RPM_BUILD_ROOT
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    92
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    93
%files
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    94
%defattr (-, root, bin)
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    95
%dir %attr (0755, root, bin) %{_bindir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    96
%{_bindir}/*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
%dir %attr (0755, root, bin) %{_libdir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    98
%{_libdir}/*.so*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
%{_libdir}/girepository-1.0/*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   100
%{_libdir}/gobject-introspection/*
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   101
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   102
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   103
%{_libdir}/%{_arch64}/*.so*
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   104
%{_libdir}/%{_arch64}/girepository-1.0/*
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   105
%{_libdir}/%{_arch64}/gobject-introspection/*
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   106
%endif
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
%dir %attr (0755, root, sys) %{_datadir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   108
%{_datadir}/gir-1.0
18532
38d0d5247461 009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   109
%{_datadir}/gobject-introspection-1.0/*
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   110
%dir %attr(0755, root, bin) %{_mandir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   111
%dir %attr(0755, root, bin) %{_mandir}/*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   112
%{_mandir}/*/*
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   113
%doc -d %{base_arch}/gobject-introspection-%{version} AUTHORS README COPYING
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   114
%doc(bzip2) -d %{base_arch}/gobject-introspection-%{version} COPYING.GPL COPYING.LGPL NEWS
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   115
%dir %attr (0755, root, other) %{_datadir}/doc
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   116
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   117
%files devel
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   118
%defattr (-, root, bin)
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   119
%dir %attr (0755, root, bin) %dir %{_libdir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   120
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   121
%{_libdir}/pkgconfig/*
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   122
%ifarch amd64 sparcv9
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   123
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   124
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   125
%{_libdir}/%{_arch64}/pkgconfig/*
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   126
%endif
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   127
%dir %attr (0755, root, bin) %dir %{_includedir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   128
%{_includedir}/*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   129
%dir %attr (0755, root, sys) %{_datadir}
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   130
%dir %attr (0755, root, other) %{_datadir}/aclocal
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   131
%{_datadir}/aclocal/*
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   132
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   133
%changelog
18532
38d0d5247461 009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   134
* Fri Dec 18 2009 - [email protected]
38d0d5247461 009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   135
- Fix packaging for 0.6.7.
16424
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   136
* Mon Aug 31 2009 - [email protected]
5252dcba3f38 2009-08-31 Halton Huo <[email protected]>
halton
parents: 16339
diff changeset
   137
- Enable 64 bit 
16339
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   138
* Mon Aug 24 2009 - [email protected]
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   139
- Move from SFE, spilit base part to base-specs/gobject-introspection
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   140
* Wed Aug 05 2009 - Halton Huo  <[email protected]>
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   141
- Use 0.6.3 tarball release 
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   142
- Add crash-compiler.diff to fix #587823
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   143
* Fri Jul 03 2009 - Brian Cameron  <[email protected]
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   144
- Remove upstream patch gobject-introspection-01-union.diff,
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   145
  renumber rest.
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   146
* Sat Apr 04 2009 - Brian Cameron  <[email protected]>
abbb0052893a 2009-08-25 Halton Huo <[email protected]>
halton
parents:
diff changeset
   147
- Created.