Home | History | Annotate | Download | only in gnome-2-16
      1 #
      2 # spec file for package gnome-media
      3 #
      4 # Copyright (c) 2005 Sun Microsystems, Inc.
      5 # This file and all modifications and additions to the pristine
      6 # package are under the same license as the package itself.
      7 #
      8 # Owner: yippi
      9 #
     10 Name:         gnome-media
     11 Summary:      GNOME Multimedia
     12 Group:        System/GUI/GNOME
     13 Version:      2.16.1
     14 Release:      3
     15 Distribution: Java Desktop System
     16 Vendor:       Sun Microsystems, Inc.
     17 License:      GPL
     18 Source:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2
     19 Source1:      gst-std-options.5.gz
     20 Source2:      vumeter.1.gz
     21 Source3:      cddb-slave2-properties.1.gz
     22 Source4:      gnome-sound-recorder.1.gz
     23 Source5:      gstreamer-properties.1.gz
     24 Source6:      gnome-audio-profiles-properties.1.gz
     25 Source7:      gnome-volume-control.1.gz
     26 Patch1:       gnome-media-01-menu-entries.diff
     27 Patch2:       gnome-media-02-cddb-display.diff
     28 Patch3:       gnome-media-03-cdda.diff
     29 Patch4:       gnome-media-04-fixfunc.diff
     30 Patch5:       gnome-media-05-disable-gnome-cd.diff
     31 Patch6:       gnome-media-06-linguas.diff
     32 Patch7:       gnome-media-07-supportdevices.diff
     33 URL:          http://www.gnome.org
     34 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
     35 Docdir:       %{_docdir}
     36 Autoreqprov:  on
     37 Prereq:       /sbin/ldconfig
     38 Prereq:       GConf
     39 
     40 %define 	gstreamer_version 		0.8.1
     41 %define 	gstreamer_devel_version 	0.8.1
     42 %define 	gstreamer_plugins_version 	0.8.1
     43 %define 	gstreamer_plugins_devel_version	0.8.1
     44 %define		scrollkeeper_version		0.3.14
     45 %define         libgnomeui_version              2.6.0
     46 %define         nautilus_cd_burner_version      2.12.0
     47 
     48 Requires: 	gstreamer >= %{gstreamer_version}
     49 Requires: 	gstreamer-plugins >= %{gstreamer_plugins_version}
     50 Requires:       libgnomeui >= %{libgnomeui_version}
     51 BuildRequires:  gstreamer-devel >= %{gstreamer_devel_version}
     52 BuildRequires: 	gstreamer-plugins-devel => %{gstreamer_plugins_devel_version}
     53 BuildRequires:	scrollkeeper >= %{scrollkeeper_version}
     54 BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
     55 Requires:       nautilus-cd-burner >= %{nautilus_cd_burner_version}
     56 
     57 %description
     58 This package contains some multimedia programs for GNOME.
     59 
     60 %prep
     61 %setup -q
     62 %patch1 -p1
     63 %patch2 -p1
     64 %patch3 -p1
     65 %patch4 -p1
     66 %patch5 -p1
     67 %patch6 -p1
     68 %patch7 -p1
     69 
     70 for po in po/*.po; do
     71   dos2unix -ascii $po $po
     72 done
     73 
     74 %build
     75 %ifos linux
     76 if [ -x /usr/bin/getconf ]; then
     77   CPUS=`getconf _NPROCESSORS_ONLN`
     78 fi
     79 %else
     80   CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
     81 %endif
     82 if test "x$CPUS" = "x" -o $CPUS = 0; then
     83   CPUS=1
     84 fi
     85 
     86 libtoolize --force
     87 intltoolize --force --copy
     88 aclocal $ACLOCAL_FLAGS -I ./m4
     89 autoheader
     90 automake -a -c -f
     91 autoconf
     92 
     93 CFLAGS="$RPM_OPT_FLAGS"			\
     94 ./configure --prefix=%{_prefix}		\
     95 	    --libexecdir=%{_libexecdir}	\
     96 	    --sysconfdir=%{_sysconfdir} \
     97 	    --disable-esdtest
     98 
     99 make -j $CPUS
    100 
    101 %install
    102 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 
    103 make DESTDIR=$RPM_BUILD_ROOT install
    104 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 
    105 install -d $RPM_BUILD_ROOT%{_mandir}/man1
    106 install -d $RPM_BUILD_ROOT%{_mandir}/man5
    107 install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man5 
    108 install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
    109 install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 
    110 install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 
    111 install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 
    112 install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man1 
    113 install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man1 
    114 
    115 chmod -R a+rX $RPM_BUILD_ROOT%{_datadir}/gnome/help
    116 
    117 #Clean up unpackaged files
    118 rm $RPM_BUILD_ROOT%{_libdir}/*.a
    119 rm $RPM_BUILD_ROOT%{_libdir}/*.la
    120 
    121 #Remove Gstreamer Properties from yelp
    122 rm $RPM_BUILD_ROOT%{_datadir}/omf/gnome-media/gstreamer-properties-*
    123 
    124 %clean
    125 rm -rf $RPM_BUILD_ROOT
    126 
    127 %post
    128 /sbin/ldconfig
    129 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
    130 SCHEMAS="CDDB-Slave2.schemas gnome-audio-profiles.schemas gnome-sound-recorder.schemas"
    131 for S in $SCHEMAS; do
    132  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
    133 done
    134 
    135 %postun
    136 /sbin/ldconfig
    137 
    138 %files
    139 %defattr (-, root, root)
    140 %{_bindir}/*
    141 %{_libexecdir}/*
    142 %{_libdir}/*.so.*
    143 %{_libdir}/libgnome-media-profiles.so
    144 %{_libdir}/bonobo/servers/*
    145 %{_libdir}/pkgconfig/*
    146 %{_libdir}/libglade/*
    147 %{_includedir}/* 
    148 %{_datadir}/locale/*/LC_MESSAGES/*.mo
    149 %{_datadir}/omf/gnome-media/*
    150 %{_datadir}/gnome/help/*
    151 %{_datadir}/idl/*
    152 %{_datadir}/pixmaps/*
    153 %{_sysconfdir}/gconf/schemas/*.schemas
    154 %{_datadir}/applications/cddb-slave.desktop
    155 %{_datadir}/applications/gnome-sound-recorder.desktop
    156 %{_datadir}/applications/gnome-volume-control.desktop
    157 %{_datadir}/applications/gstreamer-properties.desktop
    158 %{_datadir}/applications/reclevel.desktop
    159 %{_datadir}/applications/vumeter.desktop
    160 %{_datadir}/gnome-media/*
    161 %{_datadir}/gnome-sound-recorder/*
    162 %{_datadir}/gstreamer-properties/*
    163 %{_mandir}/man1/*
    164 %{_mandir}/man5/*
    165 
    166 %changelog
    167 * Tue Sep 05 2006 - damien.carbery@sun.com
    168 - Bump to 2.16.1.
    169 
    170 * Mon Sep 04 2006 - damien.carbery@sun.com
    171 - Bump to 2.16.0.
    172 
    173 * Thu Jun 29 2006 - brian.cameron@sun.com
    174 - This patch makes gnome-volume-control support the same devices
    175   that sdtaudiocontrol supports.  It is a known bug that GStreamer
    176   mixer plugins do not allow you to set flags.  At some point
    177   when these flags can be set via a mixer plugin interface, so
    178   then we should use that interface rather than hacking the 
    179   mixer GUI directly.
    180 
    181 * Wed Jun 21 2006 - brian.cameron@sun.com
    182 - Bump to 2.14.2 and add patch to fix LINGUAS issue.
    183 
    184 * Fri May 05 2006 - glynn.foster@sun.com
    185 - Remove the silly window title patch, and replace with a patch
    186   that removes stuff from the menus according to the spec.
    187 
    188 * Tue Mar 28 2006 - brian.cameron@sun.com
    189 - Add patch 5 to no longer build gnome-cd, now using sound-juicer.
    190 
    191 * Mon Mar 13 2006 - damien.carbery@sun.com
    192 - Bump to 2.14.0.
    193 
    194 * Tue Feb 28 2006 - damien.carbery@sun.com
    195 - Bump to 2.13.93.
    196 
    197 * Wed Feb 15 2006 - damien.carbery@sun.com
    198 - Bump to 2.13.92.
    199 
    200 * Tue Jan 31 2006 - damien.carbery@sun.com
    201 - Bump to 2.13.91.
    202 
    203 * Fri Jan 20 2006 - brian.cameron@sun.com
    204 - Add patch 4 so that 2.13.7 compiles.
    205 
    206 * Fri Jan 20 2006 - damien.carbery@sun.com
    207 - Bump to 2.13.7.
    208 
    209 * Tue Nov 29 2005 - laca.com
    210 - remove javahelp stuff
    211 
    212 * Thu Sep 22 2005 - brian.cameron@sun.com
    213 - Add back gnome-media-03-cdda.diff and remove patch that causes
    214   gnome-cd to not build.
    215 
    216 * Sat Sep 17 2005 - glynn.foster@sun.com
    217 - Bump to 2.12.0
    218 
    219 * Mon Aug 15 2005 - damien.carbery@sun.com
    220 - Bump to 2.11.91.
    221 
    222 * Tue Jul 12 2005 - balamurali.viswanathan@wipro.com
    223 - Don't build gnome-cd
    224 
    225 * Tue Jun 21 2005 - matt.keenan (at] wipro.com
    226 - Remove capplets from %files to build
    227 
    228 * Thu Jun 16 2005 - matt.keenan (at] wipro.com
    229 - Bump l10n tarballs
    230 
    231 * Tue May 17 2005 - balamurali.viswanathan (at] wipro.com
    232 - Bump to 2.10.2
    233 
    234 * Fri May 13 2005 - brian.cameron (at] sun.com
    235 - Bump to 2.10 and add -I ./m4 to aclocal flags since it is needed.
    236 
    237 * Fri Apr 22 2005 - archana.shah (at] wipro.com
    238 - Modified patch gnome-media-22-play-not-working.diff.
    239   Fixes bug #6185195
    240 
    241 * Thu Mar 03 2005 - archana.shah (at] wipro.com
    242 - Add patch gnome-media-22-play-not-working.diff. Handle EBUSY error.
    243   Fixes bug #6185195
    244 
    245 * Mon Feb 21 2005 - balamurali.viswanathan (at] wipro.com
    246 - Add patch gnome-media-21-lossless-wav.diff, use wavenc instead of flacenc.
    247   Fixes bug #6227666
    248 
    249 * Mon Feb 07 2005 - takao.fujiwara (at] sun.com
    250 - Removed gnome-media-01-g11n-potfiles.diff and gnome-media-17-g11n-potfiles.diff
    251   Use l10n-configure.sh
    252 - Renamed *.diff
    253 - Updated gnome-media-12-g11n-schemas.diff to avoid the warning during 
    254   the installation. Fixing bug 6226060
    255 - Added gnome-media-20-g11n-i18n-ui.diff to localize the default filename.
    256   Fixing bug 6217696
    257 
    258 * Fri Jan 28 2005 - Matt.keenan (at] sun.com
    259 - #6222302 - Remove Gstreamer Properties from yelp
    260 
    261 * Thu Jan 27 2005 - balamurali.viswanathan (at] wipro.com
    262 - Add patch gnome-media-21-gstreamer-prop-xml.diff to fix xmllint error
    263   Fixes bug #6218084
    264 
    265 * Fri Jan 14 2005 - kazuhiko.maekawa (at] sun.com
    266 - Updated l10n help tarball for cinnabar-linux
    267                                                                                 
    268 * Wed Jan 05 2005 - balamurali.viswanathan (at] wipro.com
    269 - Add patch gnome-media-20-enable-pause.diff to set the sensitivity of previous
    270   button correctly.  Solves bug #5053909
    271 
    272 * Wed Dec 22 2004 - balamurali.viswanathan (at] wipro.com
    273 - Add patch gnome-media-19-stop-on-quit.diff to stop playing when gnome-cd quits
    274   Solves bug #6210011
    275 
    276 * Tue Nov 23 2004 - balamurali.viswanathan (at] wipro.com
    277 - Modify patch gnome-media-14-remove-unusable-cache-entry.diff to fix 
    278   bug #6195969
    279 
    280 * Wed Nov 09 2004 - archana.shah (at] wipro.com
    281 - Added gnome-media-18-prompt-on-overwrite.diff so that it asks before
    282   overwriting any existing file.
    283   Patch taken from bugzilla. Fixes bug# 6186579
    284 
    285 * Thu Nov 04 2004 - ciaran.mcdermott (at] sun.com
    286 - Added gnome-media-17-g11n-potfiles.diff to update POTFILES.in
    287 
    288 * Wed Nov 03 2004 - balamurali.viswanathan (at] wipro.com
    289 - Added patch gnome-media-16-cddb-display.diff. Fixes bug#6179826
    290 
    291 * Fri Oct 29 2004 - arvind.samptur (at] wipro.com
    292 - Patch from Archana to fix saving files in
    293   gnome-sound-recorder. Fixes #6184521
    294 
    295 * Thu Oct 28 2004 - matt.keenan (at] sun.com
    296 - Add gnome-audio-profiles-properties.1, gnome-volume-control.1,
    297   gstreamer-properties.1, vumeter.1, gst-std-options.5 man pages
    298 
    299 * Fri Oct 12 2004 - balamurali.viswanathan (at] wipro.com
    300 - Modify patch gnome-media-12-play-pipeline.diff to fix bug #6176869
    301 
    302 * Fri Oct 08 2004 - kaushal.kumar (at] wipro.com
    303 - Added patch gnome-media-14-remove-unusable-cache-entry.diff to 
    304   remove the cache entry once it is stale. Fixed a leak, etc.
    305   Fixes bug #5089229.
    306 
    307 * Tue Oct 05 2004 - takao.fujiwara (at] sun.com
    308 - Removed gnome-media-14-g11n-i18n-ui.diff by community's comment.
    309   Bugzilla 154054
    310 
    311 * Thu Sep 30 2004 - takao.fujiwara@sun.com
    312 - Add gnome-media-14-g11n-i18n-ui.diff to fix bug 5108713
    313 
    314 * Tue Sep 28 2004 - ciaran.mcdermott@sun.com
    315 - Add patch gnome-media-13-g11n-schemas-fix.diff for bug #5057074
    316 
    317 * Fri Sep 24 2004 - balamurali.viswanathan@wipro.com
    318 - Add patch gnome-media-12-play-pipeline.diff for bug #5089100
    319 
    320 * Wed Sep 15 2004 - balamurali.viswanathan@wipro.com
    321 - Add patch gnome-media-11-enable-lineout.diff to enable lineout 
    322 
    323 * Thu Sep 02 2004 - balamurali.viswanathan@wipro.com
    324 - Remove patch gnome-media-10-disable-solaris-record.diff to enable record 
    325   button is Solaris. Since now we have source element for Solaris
    326 
    327 * Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com
    328 - Added l10n help contents with patch
    329 
    330 * Fri Aug 20 2004 - damien.carbery@sun.com
    331 - Integrated updated docs tarball from breda.mccolgan@sun.com
    332 
    333 * Sun Aug 16 2004  shirley.woo@sun.com
    334 - change .../gnome-cd/*/*.xml permissions to 0644 for Solaris integration error
    335 - change .../gnome-sound-recorder/*/*.xml permissions to 0644 for Solaris integration error
    336 
    337 * Thu Aug 05 2004 - damien.carbery@sun.com
    338 - Integrated docs 0.5 tarball from breda.mccoglan@sun.com
    339 
    340 * Fri Jul 30 2004 - brian.cameron@sun.com
    341 - Added patch 10 to disable the record button on Solaris.
    342 
    343 * Fri Jul 23 2004 - balamurali.viswanathan@wipro.com
    344 - Patch to make gnome-cd play in machines where there is no audio cable.
    345   Fixes bug #5061178
    346 
    347 * Tue Jul 13 2004 - niall.power@sun.com
    348 - Ported to rpm4 and updated dependency versions
    349 
    350 * Thu Jul 08 2004 - damien.donlon@sun.com
    351 - Updated l10n content to gnome-media-l10n-po-1.2.tar.bz2
    352 
    353 * Wed Jul  7 2004 - takao.fujiwara@sun.com
    354 - Add gnome-media-08-g11n-configure.diff to install .mo into _datadir/locale.
    355   bugzilla 145087.
    356 
    357 * Wed Jul 07 2004 - dermot.mccluskey@sun.com
    358 - added "-j $CPUS" to make to speed up builds
    359 
    360 * Mon Jun 15 2004 - brian.cameron@sun.com
    361 - Bumping to 2.6.1 made patch gnome-media-04-add-gst-cflags-ldflags.diff
    362   unnecessary, so removed.  This fixed bug 5061791.
    363 
    364 * Fri Jun 11 2004 - damien.carbery@sun.com
    365 - Integrated docs 0.4 tarball from breda.mccoglan@sun.com
    366 
    367 * Wed Jun 09 2004 - balamurali.viswanathan@wipro.com
    368 - Added patch 08, to set the audio port, so that the user need not set it
    369   through sdtaudicontrol whenever he wants to use gnome-cd
    370 
    371 * Tue Jun 8 2004 - rich.burridge@sun.com
    372 - Added patch 07, so that gnome-cd doesn't crash when a CD is reinserted on
    373   a Solaris x86 system. Fix is fine for Linux as well. Fixes bugtraq bug
    374   #5057711
    375 
    376 * Fri May 28 2004 - brian.cameron (at] sun.com
    377 - Added patch 06, so that gnome-sound-recorder works for most formats
    378   on Solaris.  This is needed due to a limitation in esdsink (default 
    379   on Solaris).  osssink (default on Linux) can handle all rates/formats,
    380   but esdsink can not.
    381 
    382 * Wed May 12 2004 - damien.donlon (at] sun.com
    383 - Updated l10n content to gnome-media-l10n-po-1.1.tar.bz2
    384 
    385 * Fri May 07 2004 - brian.cameron (at] sun.com
    386 - Add --disable-esdtest since this fails on Solaris due to the
    387   way we are building gnome-media and configure picks up the
    388   gstreamer *.la files from pkg-config, which can't be used by
    389   configure.
    390 
    391 * Fri May 07 2004 - matt.keenan@sun.com
    392 - Bump to 2.6.1
    393 
    394 * Tue Apr 27 2004 - kaushal.kumar@wipro.com
    395 - Added gnome-media-05-cddb-help-filename-update.diff to fix the help 
    396   for cddb-slave2-properties dialog.
    397 
    398 * Sun Apr 18 2004 - laca@sun.com
    399 - enable javahelp conversion on Solaris
    400 
    401 * Thu Apr 01 2004 - matt.keenan@sun.com
    402 - javahelp conversion
    403 
    404 * Mon Mar 29 2004 - damien.donlon@sun.com
    405 - Updated l10n content to gnome-media-l10n-po-1.0.tar.bz2
    406 
    407 * Wed Mar 24 2004 - <glynn.foster@sun.com>
    408 - Bump to 2.6.0, and remove record scheduler, 
    409   grecord configure, audio schemas, gnome volume 
    410   desktop, gst mixer array and grecord prompt
    411   overwrite [needs to be rewritten] patches.
    412 
    413 * Fri Mar 05 2004 - <niall.power@sun.com>
    414 - pass in ACLOCAL_FLAGS to aclocal
    415 
    416 * Wed Mar 03 2004 - <laca@sun.com>
    417 - Add libgnomeui dependency
    418 
    419 * Fri Feb 13 2004 - <matt.keenan@sun.com>
    420 - Patch 08, patch 09
    421 
    422 * Wed Feb 11 2004 - <matt.keenan@sun.com>
    423 - Bump to 2.5.2, l10n to 0.7, docs 0.2
    424   Re-apply patchs 01->05
    425   Remove original patch 06
    426   Add new patch 06 to build gnome-sound-recorder
    427 
    428 * Wed Dec 17 2003 - <glynn.foster@sun.com>
    429 - Bump to 2.5.1
    430 
    431 * Fri Oct 31 2003 - <glynn.foster@sun.com>
    432 - Remove and rename patches to remove the Sun Settings 
    433   desktop keyword, since we're killing Extras menu.
    434 
    435 * Mon Oct 20 2003 - <ghee.teo (at] sun.com>
    436 - Forward port fix to #4880305 from wipro for QS.
    437   patch: gnome-media-07-fix-saving-zero-bytes-data.diff
    438 
    439 * Mon Oct 13 2003 - <niall.power (at] sun.com>
    440 - updated to version 2.4.0
    441 - Removed gnome-media-01-window-icon.diff,
    442   gnome-media-07-gnome-cd-notification.diff,
    443   gnome-media-08-recorder-gst-state.diff - all merged upstream
    444 
    445 * Fri Sep 26 2003 - <laca (at] sun.com>
    446 - integrate Sun docs
    447 
    448 * Tue Sep 23 2003 - <niall.power (at] sun.com>
    449 - add patch from Balamurali.Viswanathan (at] wipro.com.
    450   Fixes BT# 4882371. gnome-media-08-recorder-gst-state.diff
    451 
    452 * Fri Sep 19 2003 - <niall.power (at] sun.com>
    453 - add patch from Kaushal.Kumar (at] wipro.com. Fixes BT#4913405
    454   gnome-media-07-gnome-cd-notification.diff
    455 
    456 - add patch nautilus-media-06-record-scheduler.diff.
    457   Fixes BT# 4904323
    458 
    459 * Thu Aug 14 2003 - <laca (at] sun.com>
    460 - remove lib*.so, *.a, *.la
    461 
    462 * Thu Aug 07 2003 - <niall.power (at] sun.com>
    463 - post install uses scrollkeeper so make it a dependency
    464 
    465 * Wed Aug 06 2003 - <glynn.foster (at] sun.com>
    466 - Prompt before you overwrite a filename.
    467 
    468 * Tue Aug 05 2003 - <glynn.foster (at] sun.com>
    469 - New tarball, bump version, reset release.
    470 
    471 * Fri Aug 01 2003 - <glynn.foster (at] sun.com>
    472 - Add supported menu categories
    473 
    474 * Tue Jul 21 2003 - <glynn.foster (at] sun.com>
    475 - New mixer icon
    476 
    477 * Wed Jul 09 2003 - <michael.twomey (at] sun.com>
    478 - add in sun po files
    479 
    480 * Wed May 14 2003 - Matt.Keenan (at] sun.com
    481 - Initial Sun Release
    482