SUNWgamin.spec
author lin
Thu, 27 Mar 2008 07:20:22 +0000
branchgnome-2-20
changeset 10855 4b4b2ccdb84b
parent 10767 993844b29ed4
permissions -rw-r--r--
2008-03-27 Lin Ma <[email protected]> * SUNWgamin.spec: * copyright/SUNWgamin.copyright: Add copyright file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10767
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     1
#
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     2
# spec file for package SUNWgamin, SUNWgamin-devel
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     3
#
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     4
# includes module(s): gamin
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     5
#
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     8
# package are under the same license as the package itself.
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
     9
#
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    10
# Owner: lin
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    11
#
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    12
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    13
%include Solaris.inc
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    14
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    15
%include base.inc
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    16
%use gamin = gamin.spec
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    17
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    18
Name:			SUNWgamin
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    19
Summary:		%{gamin.summary}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    20
Version:		%{gamin.version}
10855
4b4b2ccdb84b 2008-03-27 Lin Ma <[email protected]>
lin
parents: 10767
diff changeset
    21
SUNW_Copyright:		%{name}.copyright
10767
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    22
SUNW_BaseDir:		%{_basedir}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    23
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    24
%include default-depend.inc
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    25
Requires:      SUNWgnome-base-libs
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    26
BuildRequires: SUNWgnome-base-libs-devel
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    27
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    28
%package devel
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    29
Summary:		%{summary} - developer files
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    30
Group:			Development/Libraries
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    31
SUNW_BaseDir:		%{_basedir}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    32
Requires:		%{name}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    33
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    34
%prep
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    35
rm -rf %name-%version
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    36
mkdir %name-%version
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    37
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    38
mkdir %name-%version/%base_arch
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    39
%gamin.prep -d %name-%version/%base_arch
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    40
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    41
%build
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    42
%gamin.build -d %name-%version/%base_arch
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    43
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    44
%install
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    45
rm -rf $RPM_BUILD_ROOT
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    46
%gamin.install -d %name-%version/%base_arch
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    47
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    48
# move python stuff to vendor-packages
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    49
(
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    50
  cd $RPM_BUILD_ROOT%{_libdir}/python*
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    51
  mv site-packages vendor-packages
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    52
  rm vendor-packages/*.la
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    53
)
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    54
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    55
%clean
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    57
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    58
%files
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    59
%defattr(-,root,bin)
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    60
%dir %attr (0755, root, bin) %{_libdir}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    61
%{_libdir}/lib*.so*
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    62
%{_libexecdir}/gam_server
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    63
%{_libdir}/python2.4/*
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    64
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    65
%files devel
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    66
%defattr(-, root, bin)
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    67
%dir %attr (0755, root, bin) %{_libdir}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    68
%dir %attr (0755, root, bin) %{_includedir}
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    69
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    70
%{_libdir}/pkgconfig/*.pc
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    71
%{_includedir}/*
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    72
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    73
%changelog
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    74
* Sat Oct 13 2007 - [email protected]
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    75
- Initial FEN backend
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    76
* Sun Apr 15 2007 - [email protected]
993844b29ed4 2008-01-14 Lin Ma <[email protected]>
lin
parents:
diff changeset
    77
- Initial version