SUNWlibunique.spec
author yippi
Fri, 06 Mar 2009 18:12:35 +0000
changeset 15324 36b720a1ae2c
parent 15091 a16f2f32502e
child 15516 e50914fb261b
permissions -rw-r--r--
2009-03-06 Brian Cameron <[email protected]> * SUNWdbus-glib.spec, SUNWdbus-python.spec, SUNWdbus-python26.spec, base-specs/dbus-python.spec, copyright/SUNWdbus-glib.copyright, copyright/SUNWdbus-python.copyright: Separate bindings into separate packages and provide 2.6 Python bindings package. * SUNWdbus-bindings.spec, copyright/SUNWdbus-bindings.copyright: Remove. * manpages/Makefile: Now manpages are just installed by SUNWdbus-glib. Fix so that the D-Bus bindings manpages are built for this package. * SUNWlibunique.spec, SUNWgnome-component.spec, SUNWgnome-config.spec, SUNWgnome-a11y-mousetweaks.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-python-extras.spec, SUNWgnome-power-manager.spec, SUNWgnome-vfs.spec, SUNWavahi-bridge-dsd.spec: Change Requires and BuildRequires to new package names. * SUNWgst-python.spec, SUNWgst-python25.spec, SUNWgst-python26.spec: Use %{pythonver} rather than hardcoding the number in the Summary.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     1
#
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     2
# spec file for package SUNWlibunique
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     3
#
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     4
# includes module(s): unique
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     5
#
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     6
# Copyright 2009 Sun Microsystems, Inc.
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     7
# This file and all modifications and additions to the pristine
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     8
# package are under the same license as the package itself.
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
     9
#
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    10
# Owner: halton
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    11
#
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    12
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    13
%include Solaris.inc
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    14
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    15
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    16
%include arch64.inc
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    17
%use unique_64 = unique.spec
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    18
%endif
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    19
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    20
%include base.inc
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    21
%use unique = unique.spec
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    22
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    23
Name:           SUNWlibunique
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    24
Summary:        unique - library for writing single instance applications
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    25
Version:        %{unique.version}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    26
SUNW_Copyright: %{name}.copyright
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    27
SUNW_BaseDir:   %{_basedir}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    28
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    29
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    30
%include default-depend.inc
15324
36b720a1ae2c 2009-03-06 Brian Cameron <[email protected]>
yippi
parents: 15091
diff changeset
    31
Requires:       SUNWdbus-glib
14973
69a6109162db 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14972
diff changeset
    32
Requires:       SUNWgnome-base-libs
69a6109162db 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14972
diff changeset
    33
Requires:       SUNWxwplt
15324
36b720a1ae2c 2009-03-06 Brian Cameron <[email protected]>
yippi
parents: 15091
diff changeset
    34
BuildRequires:  SUNWdbus-glib-devel
14973
69a6109162db 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14972
diff changeset
    35
BuildRequires:  SUNWgnome-base-libs-devel
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    36
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    37
%package devel
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    38
Summary:        %{summary} - development files
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    39
SUNW_BaseDir:   %{_basedir}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    40
%include default-depend.inc
14973
69a6109162db 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14972
diff changeset
    41
Requires:       %name
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    42
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    43
%prep
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    44
rm -rf %name-%version
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    45
mkdir -p %name-%version
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    46
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    47
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    48
mkdir %name-%version/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    49
%unique_64.prep -d %name-%version/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    50
%endif
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    51
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    52
mkdir %name-%version/%{base_arch}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    53
%unique.prep -d %name-%version/%{base_arch}
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    54
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    55
%build
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    56
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    57
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    58
export LDFLAGS="$FLAG64"
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    59
export CFLAGS="%optflags64"
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    60
export RPM_OPT_FLAGS="$CFLAGS"
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    61
%unique_64.build -d %name-%version/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    62
%endif
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    63
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    64
export CFLAGS="%optflags"
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    65
export RPM_OPT_FLAGS="$CFLAGS"
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    66
export LDFLAGS="%_ldflags"
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    67
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    68
%unique.build -d %name-%version/%{base_arch}
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    69
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    70
%install
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    71
rm -rf $RPM_BUILD_ROOT
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    72
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    73
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    74
%unique_64.install -d %name-%version/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    75
%endif
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    76
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    77
%unique.install -d %name-%version/%{base_arch}
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    78
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    79
%clean
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    81
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    82
%files
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    83
%doc -d %{base_arch}/unique-%{unique.version} README AUTHORS NEWS
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    84
%doc(bzip2) -d %{base_arch}/unique-%{unique.version} COPYING ChangeLog po/ChangeLog
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    85
%dir %attr (0755, root, other) %{_datadir}/doc
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    86
%defattr(-, root, bin)
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    87
%dir %attr (0755, root, bin) %{_libdir}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    88
%{_libdir}/libunique*.so*
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    89
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    90
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    91
%{_libdir}/%{_arch64}/libunique*.so*
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
    92
%endif
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    93
%dir %attr (0755, root, sys) %{_datadir}
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    94
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    95
%files devel
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    96
%defattr (-, root, bin)
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    97
%dir %attr (0755, root, bin) %{_includedir}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    98
%{_includedir}/*
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
    99
%dir %attr (0755, root, bin) %{_libdir}
14876
fad0c7071376 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
   100
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   101
%{_libdir}/pkgconfig/*
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   102
%ifarch amd64 sparcv9
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   103
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   104
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   105
%{_libdir}/%{_arch64}/pkgconfig/*
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   106
%endif
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   107
%dir %attr (0755, root, sys) %dir %{_datadir}
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   108
%{_datadir}/gtk-doc
14877
47b5b4df790d 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14876
diff changeset
   109
47b5b4df790d 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14876
diff changeset
   110
%changelog
15324
36b720a1ae2c 2009-03-06 Brian Cameron <[email protected]>
yippi
parents: 15091
diff changeset
   111
* Thu Mar 05 2009 - [email protected]
36b720a1ae2c 2009-03-06 Brian Cameron <[email protected]>
yippi
parents: 15091
diff changeset
   112
- Change SUNWdbus-bindings to SUNWdbus-glib.
15091
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   113
* Mon Feb 16 2009 - [email protected]
a16f2f32502e 2009-02-16 Halton Huo <[email protected]>
halton
parents: 14973
diff changeset
   114
- Add 64-bit support
14972
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   115
* Sat Jan 24 2009 - [email protected]
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   116
- Spilit unique.spec for possible 64-bit build
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   117
- Move .h and pkgconfig and gtk-doc into -devel package
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   118
 Thu Jan 08 2009 - [email protected]
07f8d57d344a 2009-01-24 Halton Huo <[email protected]>
halton
parents: 14877
diff changeset
   119
- Initial spec