SUNWlibdiscid.spec
author davelam
Mon, 15 Mar 2010 02:59:51 +0000
branchgnome-2-28
changeset 18663 a66b3e99c95a
parent 18401 716d5e75fcda
permissions -rw-r--r--
Nevada b136
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18401
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     1
#
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     2
# spec file for package SUNWlibdiscid
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     3
#
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     4
# includes module(s): libdiscid
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     5
#
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     6
# Copyright (c) 2009 Sun Microsystems, Inc.
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     8
# package are under the same license as the package itself.
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
     9
#
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    10
%define owner wangke
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    11
#
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    12
%include Solaris.inc
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    13
%use libdiscid = libdiscid.spec
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    14
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    15
Name:		SUNWlibdiscid
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    16
Summary:	Library for creating MusicBrainz DiscIDs
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    17
Version:	%{libdiscid.version}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    18
SUNW_BaseDir:	%{_basedir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    19
SUNW_Copyright: %{name}.copyright
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    20
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    21
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    22
%package devel
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    23
Summary:                 %{summary} - development files
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    24
SUNW_BaseDir:            %{_basedir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    25
%include default-depend.inc
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    26
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    27
%prep
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    28
rm -rf %name-%version
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    29
mkdir %name-%version
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    30
%libdiscid.prep -d %name-%version
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    31
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    32
%build
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    33
%libdiscid.build -d %name-%version
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    34
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    35
%install
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    36
%libdiscid.install -d %name-%version
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    37
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    38
%clean
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    39
rm -rf $RPM_BUILD_ROOT
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    40
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    41
%files
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    42
%defattr (-, root, bin)
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    43
%dir %attr (0755, root, bin) %{_libdir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    44
%{_libdir}/lib*.so*
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    45
%doc -d libdiscid-%{libdiscid.version} AUTHORS README
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    46
%doc(bzip2) -d libdiscid-%{libdiscid.version} COPYING
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    47
%doc(bzip2) -d libdiscid-%{libdiscid.version} ChangeLog
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    48
%dir %attr (0755, root, sys) %{_datadir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    49
%dir %attr (0755, root, other) %{_datadir}/doc
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    50
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    51
%files devel
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    52
%defattr (-, root, bin)
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    53
%{_includedir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    54
%dir %attr (0755, root, bin) %{_libdir}
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    55
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    56
%{_libdir}/pkgconfig/*
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    57
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    58
%changelog
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    59
* Mon Nov 16 2009 - [email protected]
716d5e75fcda 2009-11-25 Ke Wang - [email protected]
wangke
parents:
diff changeset
    60
- Initial spec file