specs/SUNWlibgtop.spec
author migi
Thu, 10 Jun 2010 14:43:36 +0000
changeset 18111 1775aa06000e
parent 17937 664c0536875a
child 18326 cdb4544481a3
child 20169 269b1e9ef64e
permissions -rw-r--r--
2010-06-10 Michal Pryc <[email protected]> * SUNWcontact-lookup-applet.spec: * SUNWpython26-imaging.spec: * SUNWgnome-python-desktop.spec: * SUNWobby.spec: * SUNWpython26-notify.spec: * SUNWlibgtop.spec: * SUNWgnome-python26-desktop.spec: * SUNWrdesktop.spec: * SUNWpython26-cssutils.spec: * SUNWsexy-python.spec: * SUNWpython-imaging.spec: * SUNWswt.spec: * SUNWpython24-cssutils.spec: * SUNWnet6.spec: * SUNWmysql-python26.spec: * SUNWplanner.spec: * SUNWlibxmlpp.spec: Updated to fit SourceJuicer automated builds.
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15650
diff changeset
    11
%define 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
17937
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    17
IPS_package_name:  library/libgtop
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    18
Meta(info.classification): %{classification_prefix}:System/Libraries
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Summary:           Library to get system specific data 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Version:           %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
SUNW_BaseDir:      %{_basedir}
11953
050b30188c33 +2008-03-28 Henry Zhang <[email protected]>
henryz
parents: 11431
diff changeset
    22
SUNW_Copyright:    %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    24
Source:            %{name}-manpages-0.1.tar.gz
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    25
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%include default-depend.inc
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    27
Requires: SUNWxwrtl
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    28
Requires: SUNWglib2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires: SUNWgnome-libs
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
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15477
diff changeset
    34
BuildRequires: SUNWglib2-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Summary:           Library to get system specific data - developer files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
SUNW_BaseDir:      %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
Requires: %name
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%libgtop.prep -d %name-%version
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    59
cd %{_builddir}/%name-%version
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    60
gzcat %SOURCE0 | tar xf -
9397
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
export LDFLAGS="%_ldflags"
11431
fccfd472dafe 2008-01-10 Damien Carbery <[email protected]>
dcarbery
parents: 10569
diff changeset
    67
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%libgtop.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
export PATH=%{_builddir}/%name-%version:$PATH
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
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
    72
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%libgtop.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
# 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
    76
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
# delete files don't need
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
rm -rf $RPM_BUILD_ROOT%{_bindir}
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
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{?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
    87
# install man page
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    88
rm -rf $RPM_BUILD_ROOT%{_mandir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    89
cd %{_builddir}/%name-%version/sun-manpages
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
    90
make install DESTDIR=$RPM_BUILD_ROOT
9397
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%files
13629
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
    96
%doc -d libgtop-%{libgtop.version} README AUTHORS
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
    97
%doc(bzip2) -d libgtop-%{libgtop.version} COPYING NEWS ChangeLog
f4e74bad3463 2008-09-17 Henry Zhang <[email protected]>
henryz
parents: 12943
diff changeset
    98
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{_libdir}/lib*.so*
12943
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   102
%dir %attr (0755, root, sys) %{_datadir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   103
%dir %attr(0755, root, bin) %{_mandir}
b184db61d375 2008-07-28 Henry Zhang <[email protected]>
henryz
parents: 11953
diff changeset
   104
%{_mandir}/*/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{_datadir}/gtk-doc/html/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%defattr (-, root, other)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
%endif
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
%changelog
16535
d1155c9f3a0a 2009-09-11 Wang Xin <[email protected]>
jedy
parents: 16434
diff changeset
   124
* Fri Sep 11 2009 - [email protected]
d1155c9f3a0a 2009-09-11 Wang Xin <[email protected]>
jedy
parents: 16434
diff changeset
   125
- Remove SUNWmlib dependency.
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