SUNWlibgnomecanvas.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 15558 435f886efc13
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:
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     1
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     2
# spec file for package SUNWlibgnomecanvas
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     3
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     4
# includes module(s): libgnomecanvas
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     5
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     8
# package are under the same license as the package itself.
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15558
diff changeset
    10
%define owner erwannc
15558
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    11
#
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    12
%include Solaris.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    13
%include base.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    14
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    15
%use libgnomecanvas = libgnomecanvas.spec
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    16
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    17
Name:                    SUNWlibgnomecanvas
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    18
Summary:                 GNOME canvas library
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    19
Version:                 %{libgnomecanvas.version}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    20
Source:                  %{name}-manpages-0.1.tar.gz
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    22
SUNW_Copyright:          %{name}.copyright
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    24
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    25
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    26
Requires: SUNWgtk2
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    27
Requires: SUNWlibglade
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    28
Requires: SUNWlibart
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    29
Requires: SUNWlibmsr
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    30
BuildRequires: SUNWlibm
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    31
BuildRequires: SUNWlibglade-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    32
BuildRequires: SUNWlibart-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    33
BuildRequires: SUNWgnome-common-devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    34
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    35
%package devel		
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    36
Summary:                 %{summary} - development files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    38
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    39
Requires: SUNWlibgnomecanvas
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    40
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    41
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    42
%package l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    43
Summary:                 %{summary} - l10n content
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    44
SUNW_BaseDir:            %{_basedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    45
%include default-depend.inc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    46
Requires: %{name}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    47
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    48
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    49
%prep
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    50
rm -rf %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    51
mkdir %name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    52
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    53
mkdir %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    54
%libgnomecanvas.prep -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    55
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    56
cd %{_builddir}/%name-%version
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    57
gzcat %SOURCE0 | tar xf -
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    58
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    59
%build
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    60
PKG_CONFIG_DISABLE_UNINSTALLED=
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    61
unset PKG_CONFIG_DISABLE_UNINSTALLED
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    62
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    63
#	we need this because libgnomecanvas-scan cannot find libXrand
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    64
#	without it - this seems solairs specific so it is here
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    65
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/X11/lib"
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    66
%libgnomecanvas.build -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    67
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    68
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    69
%install
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    70
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    71
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    72
%libgnomecanvas.install -d %name-%version/%{base_arch}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    73
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    74
rm -rf $RPM_BUILD_ROOT%{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    75
cd %{_builddir}/%name-%version/sun-manpages
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    76
make install DESTDIR=$RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    77
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    78
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    79
%else
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    80
# REMOVE l10n FILES
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    81
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    82
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    83
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    84
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    85
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    86
%clean
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    87
rm -rf $RPM_BUILD_ROOT
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    88
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    89
%files
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    90
%doc -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/README
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    91
%doc -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/AUTHORS
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    92
%doc(bzip2) -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    93
%doc(bzip2) -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/po/ChangeLog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    94
%doc(bzip2) -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/COPYING.LIB
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    95
%doc(bzip2) -d  %{base_arch} libgnomecanvas-%{libgnomecanvas.version}/NEWS
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    96
%dir %attr (0755, root, other) %{_datadir}/doc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    97
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    98
%dir %attr (0755, root, bin) %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
    99
%{_libdir}/lib*.so*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   100
%{_libdir}/libglade
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   101
%dir %attr (0755, root, sys) %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   102
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   103
%files devel
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   104
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   105
%dir %attr (0755, root, bin) %dir %{_libdir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   106
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   107
%{_libdir}/pkgconfig/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   108
%dir %attr (0755, root, bin) %dir %{_includedir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   109
%{_includedir}/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   110
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   111
%{_datadir}/gtk-doc
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   112
%dir %attr(0755, root, bin) %{_mandir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   113
%dir %attr(0755, root, bin) %{_mandir}/man3
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   114
%{_mandir}/man3/*
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   115
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   116
%if %build_l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   117
%files l10n
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   118
%defattr (-, root, bin)
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   119
%dir %attr (0755, root, sys) %dir %{_datadir}
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   120
%attr (-, root, other) %{_datadir}/locale
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   121
%endif
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   122
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   123
%changelog
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   124
* Tue Mar 31 2009 - [email protected]
435f886efc13 2009-04-04 Dave Lin <[email protected]>
davelam
parents:
diff changeset
   125
- initial version(split from SUNWgnome-base-libs)