10139N/A#
10139N/A# spec file for package SUNWgnome-cd
10139N/A#
10139N/A# includes module(s): sound-juicer
10139N/A#
20185N/A# Copyright 2009, 2011, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner yippi
10139N/A#
10139N/A%include Solaris.inc
10139N/A%use soundjuicer = sound-juicer.spec
10139N/A
10139N/AName: SUNWgnome-cd
18688N/AIPS_package_name: desktop/cd-ripping/sound-juicer
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Sound and Video
10139N/ASummary: CD ripping tool
19013N/AVersion: %{soundjuicer.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASource1: solaris-cdda.schemas
10139N/ASUNW_BaseDir: %{_basedir}
12679N/ASUNW_Copyright: %{name}.copyright
19099N/ALicense: %{soundjuicer.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20913N/ABuildRequires: desktop/cd-burning/brasero
20913N/ABuildRequires: developer/gnome/gnome-doc-utils
20913N/ABuildRequires: gnome/config/gconf
20913N/ABuildRequires: gnome/media/gnome-media
20913N/ABuildRequires: library/audio/gstreamer
20913N/ABuildRequires: library/desktop/libglade
20913N/ABuildRequires: library/desktop/xdg/libcanberra
20913N/ABuildRequires: library/gnome/gnome-libs
20913N/ABuildRequires: library/gnome/gnome-vfs
20913N/ABuildRequires: library/musicbrainz/libmusicbrainz
20913N/ARequires: desktop/cd-burning/brasero
20913N/ARequires: gnome/media/gnome-media
20913N/ARequires: system/library/math
20913N/ARequires: library/desktop/libglade
20913N/ARequires: library/desktop/xdg/libcanberra
20913N/ARequires: library/musicbrainz/libmusicbrainz
20913N/ARequires: service/gnome/desktop-cache
20913N/ARequires: system/library/c++-runtime
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%soundjuicer.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/Acd %{_builddir}/%name-%version/sound-juicer-%{soundjuicer.version}
10139N/Acd ..
10139N/A
10139N/A%build
10139N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
10139N/Aexport CXXFLAGS="%cxx_optflags -I/usr/sfw/include -lCrun -lCstd"
10139N/Aexport LDFLAGS="%_ldflags -L/usr/sfw/lib"
10139N/Aexport CFLAGS="%optflags -I/usr/sfw/include"
10139N/A%soundjuicer.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%soundjuicer.install -d %name-%version
10139N/Ainstall --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/solaris-cdda.schemas
10139N/A# rm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
16122N/A# RBAC related
19898N/Amkdir -p $RPM_BUILD_ROOT/etc/security/exec_attr.d
16122N/A# exec_attr(4)
19911N/Acat >> $RPM_BUILD_ROOT/etc/security/exec_attr.d/desktop-cd-ripping-sound-juicer <<EOF
20185N/ADesktop Removable Media User:solaris:cmd:RO::/usr/bin/sound-juicer:privs=sys_devices
16122N/AEOF
16122N/A
10139N/Acd $RPM_BUILD_ROOT%{_bindir}
10139N/Aln -s sound-juicer gnome-cd
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
16122N/A%attr (0755, root, bin)%{_bindir}/*
10139N/A%{_datadir}/applications/*
14524N/A%doc -d sound-juicer-%{soundjuicer.version} AUTHORS README
14524N/A%doc(bzip2) -d sound-juicer-%{soundjuicer.version} COPYING NEWS
14524N/A%doc(bzip2) -d sound-juicer-%{soundjuicer.version} ChangeLog po/ChangeLog
14524N/A%doc(bzip2) -d sound-juicer-%{soundjuicer.version} help/sound-juicer/ChangeLog
14524N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/*/C
10139N/A%attr (-, root, other) %{_datadir}/icons
10139N/A%{_datadir}/sound-juicer
10139N/A%{_datadir}/omf/*/*-C.omf
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/*/??
10488N/A%{_datadir}/gnome/help/*/??_??
10139N/A%{_datadir}/omf/*/*-??.omf
10488N/A%{_datadir}/omf/*/*-??_??.omf
10139N/A
10139N/A%files root
10522N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/solaris-cdda.schemas
10139N/A%{_sysconfdir}/gconf/schemas/sound-juicer.schemas
19911N/A%attr (0755, root, sys) %dir /etc/security
19911N/A%attr (0755, root, sys) %dir /etc/security/exec_attr.d
19911N/A%config %ips_tag(restart_fmri=svc:/system/rbac:default) %attr (0444, root, sys) /etc/security/exec_attr.d/*
16122N/A
10139N/A%changelog
20869N/A* Fri Nov 04 2011 - brian.cameron@oracle.com
20869N/A- Change SUNWgnome-media-apps dependency to SUNWlibgnome-media.
20185N/A* Wed Apr 06 2011 - brian.cameron@oracle.com
20185N/A- Add "RO" to exec_attr config.
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16049N/A* Tue Mar 03 2009 - lin.ma@sun.com
16049N/A- Renamed SUNWbrasero to SUNWgnome-cd-burner.
15918N/A* Thu Feb 19 2009 - brian.cameron@sun.com
15918N/A- Add SUNWbrasero as a dependency.
14524N/A* Fri Sep 26 2008 - brian.cameron@sun.com
14524N/A- Add new copyright files.
12679N/A* Thu Mar 27 2008 - brian.cameron@sun.com
12679N/A- Add SUNW_Copyright.
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
10860N/A* Tue Jun 26 2007 - irene.huang@sun.com
10860N/A- remove libcdio as dependency.
10522N/A* Tue Apr 24 2007 - laca@sun.com
10522N/A- s/0755/-/ in defattr so that files are not made all executable
10488N/A* Mon Apr 16 2007 - damien.carbery@sun.com
10488N/A- Add en_GB files to l10n package for new tarball.
10139N/A* Tue Oct 31 2006 - takao.fujiwara@sun.com
10139N/A- Added /usr/share/locale in files l10n. Fixes 6488189.
10139N/A* Fri Sep 08 2006 - Matt.Keenan@sun.com
10139N/A- Add manpage tarball
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- change datadir/icons permissions back to root:other since it's a stable
10139N/A interface and wasn't supposed to be changed
10139N/A* Fri Jul 28 2006 - damien.carbery@sun.com
10139N/A- Omit locale files from packaging as not installed.
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Fri Jul 14 2006 - brian.cameron@sun.com
10139N/A- Install schemas file for CDDA URL Handler.
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Wed Jun 21 2006 - brian.cameron@sun.com
10139N/A- Fix packaging.
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu Jun 1 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Fri May 12 2006 - damien.carbery@sun.com
10139N/A- Small update to dependency list after check-deps.pl run.
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Fri May 5 2006 - brian.cameron@sun.com
10139N/A- Backing out "merged" GCONF change, since it doesn't work right. For now
10139N/A it seems you need to delete /etc/gconf/gconf.xml.defaults/%gconf-tree*.xml
10139N/A and run /usr/bin/gconf-merge-tree /etc/gconf/gconf.xml.defaults to get
10139N/A the GCONF set up for this to work. I talked with Laca and he plans to
10139N/A fix this in the build process so this is not necessary.
10139N/A* Sun Apr 20 2006 - damien.carbery@sun.com
10139N/A- Correct %install line that removes omf files for non-l10n build.
10139N/A* Sun Apr 9 2006 - damien.carbery@sun.com
10139N/A- Add help files to share and l10n packages.
10139N/A* Tue Mar 28 2006 - brian.cameron@sun.com
10139N/A- Now building Sound Juicer as CD player on Solaris.
10139N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Tue Nov 29 2005 - laca@sun.com
10139N/A- remove javahelp stuff
10139N/A* Mon Jul 25 2005 - balamurali.viswanathan@wipro.com
10139N/A- Add dependency SUNWgnome-media-apps, SUNWmusicbrainz
10139N/A and SUNWgnome-cd-burner
10139N/A* Fri Jul 22 2005 - balamurali.viswanathan@wipro.com
10139N/A- Changed the name to SUNWgnome-cd from SUNWsound-juicer
10139N/A* Thu Jul 07 2005 - balamurali.viswanathan@wipro.com
10139N/A- Initial spec-file created
16401N/A