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