SUNWlibgtop.spec
author davelam
Sat, 18 Apr 2009 12:26:03 +0000
changeset 15650 dbcf7e3715dd
parent 15477 8736bfbb659a
child 16434 f21f22550fe9
permissions -rw-r--r--
2009-04-18 Dave Lin <[email protected]> Update dependencies for the following spec files: o move the dependencies to the split gnome-base-libs o add other missed dependencies
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
# 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
# spec file for package SUNWlibgtop  
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# includes module(s): libgtop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
#
11431
fccfd472dafe 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 10569
diff changeset
     7
# Copyright 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# 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
     9
# 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
    10
#
15477
8736bfbb659a 2009-03-23 Niall Power <[email protected]>
niall
parents: 13630
diff changeset
    11
# Owner: niall
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use libgtop = libgtop.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:              SUNWlibgtop
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:           Library to get system specific data 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:           %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:      %{_basedir}
11953
050b30188c33 +2008-03-28 Henry Zhang <[email protected]>
henryz
parents: 11431
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
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    22
Source:            %{name}-manpages-0.1.tar.gz
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    23
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%include default-depend.inc
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    25
Requires: SUNWxwrtl
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    26
Requires: SUNWglib2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: SUNWgnome-print
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires: SUNWjdsrm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: SUNWmlib
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    35
BuildRequires: SUNWglib2-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: SUNWgnome-print-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires: SUNWgnome-config-devel
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
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Summary:           Library to get system specific data - developer files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
SUNW_BaseDir:      %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%endif
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%libgtop.prep -d %name-%version
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    61
cd %{_builddir}/%name-%version
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    62
gzcat %SOURCE0 | tar xf -
9397
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
export LDFLAGS="%_ldflags"
11431
fccfd472dafe 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 10569
diff changeset
    69
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%libgtop.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
export PATH=%{_builddir}/%name-%version:$PATH
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
export CFLAGS="`echo %optflags | sed -e 's/-xregs=no.frameptr//'`"
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
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%libgtop.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
# Remove the libgtop2.info file. No other modules install .info files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
# delete files don't need
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT%{_bindir}
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%endif
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
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    89
# install man page
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    90
rm -rf $RPM_BUILD_ROOT%{_mandir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    91
cd %{_builddir}/%name-%version/sun-manpages
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    92
make install DESTDIR=$RPM_BUILD_ROOT
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%files
13629
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
    98
%doc -d libgtop-%{libgtop.version} README AUTHORS
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
    99
%doc(bzip2) -d libgtop-%{libgtop.version} COPYING NEWS ChangeLog
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
   100
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%{_libdir}/lib*.so*
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   104
%dir %attr (0755, root, sys) %{_datadir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   105
%dir %attr(0755, root, bin) %{_mandir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   106
%{_mandir}/*/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%{_datadir}/gtk-doc/html/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%defattr (-, root, other)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
%changelog
15477
8736bfbb659a 2009-03-23 Niall Power <[email protected]>
niall
parents: 13630
diff changeset
   126
* Mon Mar 23 2009 - Niall Power <[email protected]>
8736bfbb659a 2009-03-23 Niall Power <[email protected]>
niall
parents: 13630
diff changeset
   127
- Take ownership of spec file
13630
a9061060f5dd 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 13629
diff changeset
   128
* Wed Sep 17 2008 - Henry Zhang <[email protected]>
a9061060f5dd 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 13629
diff changeset
   129
- Add  %doc to %files for copyright
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   130
* Mon July 28 2008 - [email protected]
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   131
- Add manpage
11431
fccfd472dafe 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 10569
diff changeset
   132
* Thu Jan 10 2008 - [email protected]
fccfd472dafe 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 10569
diff changeset
   133
- Set ACLOCAL_FLAGS to pick up the modified intltool.m4.
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   134
* Fri Sep 28 2007 - [email protected]
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   135
- delete some unnecessary env variables that break the indiana build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Wed Dec 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Add gtk-docs to the devel package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Fri Sep 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
-  Shorten the summary according to Shirley comments.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
-  Delete unuseful binary files from /usr/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
* Thu Aug 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Remove the %{_datadir}/info dir as no other modules install .info files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- initial version
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
   145