SUNWflac.spec
author laca
Wed, 28 Feb 2007 18:57:18 +0000
changeset 9397 b16e349d18c5
child 9576 8b6438adb524
permissions -rw-r--r--
the easy part of the reorg (most files moved around)
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
# spec file for package SUNWflac
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): flac
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2003 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# 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
     8
# 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
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%use flac = flac.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Name:        SUNWflac
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:     An Open Source lossless audio codec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Version:     %{flac.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
SUNW_BaseDir:%{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
BuildRoot:   %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
BuildConflicts: SFEnasm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRequires: SUNWgnome-common-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRequires: SUNWogg-vorbis-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWogg-vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:      %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_BaseDir: %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%flac.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
export LDFLAGS="-z ignore"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
export CXXFLAGS="%cxx_optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%flac.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
                                                                                
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%flac.install -d %name-%version
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
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%{_libdir}/libFLAC.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%{_libdir}/libFLAC++.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%{_mandir}/man1/*
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%dir %attr (0755, root, other) %{_datadir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%{_datadir}/doc/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
* Fri Feb 16 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
- Add %{_libdir}/pkgconfig to %files devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
* Wed Feb 14 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
- add BuildConflicts against SFEnasm as it breaks the build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
* Mon Dec 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
- Remove ogg flac libraries as they are no longer built.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
* Tue Sep 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- Now use flac version number.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Fri Aug 12 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Initial spec-file created