File nautilus-cd-burner.spec of Package nautilus-cd-burner

#
# spec file for package nautilus-cd-burner (Version 2.24.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           nautilus-cd-burner
BuildRequires:  eel-devel fdupes gcc-c++ gnome-mount-devel gnutls-devel gvfs-devel intltool libgnomeprintui-devel libwnck-devel nautilus-devel notification-daemon update-desktop-files
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Productivity/Multimedia/CD/Record
Requires:       nautilus cdrdao cdrecord dvd+rw-tools gnome-icon-theme
Requires:       gnome-mount
Version:        2.24.0
Release:        1
Summary:        CD Burning Extension for Nautilus
Source:         ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.20/%{name}-%{version}.tar.bz2 
Patch:          nautilus-cd-burner-142860-get-drive-from-desktop-icon.diff
Patch2:         nautilus-cd-burner-desktop.patch
Url:            http://www.gnome.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
DocDir:         %{_defaultdocdir}
AutoReqProv:    on
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description
Nautilus-cd-burner is an extension to Nautilus that makes it easy to
write files to a CD burner.

The user uses Nautilus or another Gnome-VFS aware application to copy
the files to write to "burn:///" then Nautilus-cd-burner is launched to
write the files to the CD.



Authors:
--------
    alexl@redhat.com

%package devel
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        CD-Burning Extension for Nautilus
Group:          Productivity/Multimedia/CD/Record
Requires:       %{name} = %{version} glib2-devel gtk2-devel dbus-1-devel
Requires:       hal-devel

%description devel
Nautilus-cd-burner is an extension to Nautilus that makes it easy to
write files to a CD burner.

The user uses Nautilus or another Gnome-VFS aware application to copy
the files he wants to write to "burn:///," and then Nautilus-cd-burner
is launched to write the files to the CD.



Authors:
--------
    alexl@redhat.com

%lang_package
%prep
%setup
%if %suse_version < 1020
%patch1
%endif
%patch2

%build
autoreconf -f -i
intltoolize --force
%configure\
	--libexecdir=%{_prefix}/lib/nautilus-cd-burner
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file -N "Gnome CD/DVD Creator" -G "CD/DVD Creator" nautilus-cd-burner
%suse_update_desktop_file nautilus-cd-burner-open-iso
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
rm $RPM_BUILD_ROOT/%{_libdir}/*/*/*.*a
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr(-, root, root)
%doc AUTHORS NEWS README COPYING
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*.*
%{_datadir}/nautilus-cd-burner
%{_libdir}/*.so.*
%{_libdir}/nautilus/extensions-2.0/*.so

%files lang -f %{name}.lang

%files devel
%defattr(-, root, root)
%{_includedir}/libnautilus-burn
%{_libdir}/*.so
%{_libdir}/pkgconfig/libnautilus-burn.pc

%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 2.24.0:
  + Cosmetic version bump
* Wed Aug 27 2008 mboman@novell.com
- Update to version 2.23.90:
  + Add ability to inhibit the SessionManager
  + Dropped nautilus-cd-burner-old-hal.patch (not used)
* Thu Apr 24 2008 vuntz@suse.de
- Do not add a DocPath to nautilus-cd-burner.desktop with
  %%suse_update_desktop_file: since the desktop file uses the Core
  category, doing so means showing the item in the yelp toc, which
  we don't want.
* Sat Apr 12 2008 maw@suse.de
- Update to version 2.22.1:
  + Bug fixed: bgo#524467
  + Updated translations.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Fri Mar 14 2008 vuntz@suse.de
- Update to version 2.22.0:
  + Updated translations.
- Use %%suse_update_desktop_file for nautilus-cd-burner-open-iso
  to mark it as translatable.
* Fri Mar 07 2008 maw@suse.de
- Fix the build when against newer versions of intltool.
* Thu Jan 31 2008 maw@suse.de
- Update to a svn snapshot of what will become 2.21.6 (r3144):
  + Inihibit power management while burning
  + Add support for creating DVD Video
  + Updated CD spin icons
  + Add nautilus_burn_drive_can_eject
  + Add x-content support
  + Initial port to GIO
  + Use pkg-config to determine nautilus extension dir
- Remove libtool archives.
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 2.20.0:
  * translations update
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Sat Aug 04 2007 maw@suse.de
- Update to version 2.19.6:
  + Bugs (bugzilla.gnome.org) fixed: #433730 and #435025
  + Updated translations
- Use %%fdupes
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Thu Jul 19 2007 sbrabec@suse.cz
- Patched for builds with older HAL versions.
* Wed Jul 11 2007 mauro@suse.de
- Update to version 2.19.1, which has an update to init threads early, and
  pass the enviroment to gnome-mount.
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Thu Apr 12 2007 maw@suse.de
- Update to version 2.18.1 which has updated translations for the
  following locales: lv, dz, sl, eu, gl, and es.
* Mon Apr 02 2007 ro@suse.de
- re-added gconf_schemas_prereq
* Sat Mar 31 2007 maw@suse.de
- Update to version 2.18.0
- b.g.o 406333, 385382, 332615, 395079, 356412, 355979, 368024,
  341622, 366994, 366909, 347088, 359997, 361641, 356412, 353030,
  355967, 355933, and 353899.
* Fri Mar 09 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Wed Jan 10 2007 sbrabec@suse.cz
- Removed upstreamed icons.
* Tue Dec 19 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Nov 15 2006 fejj@suse.de
- Removed 160904.patch and made the build depend on gnome-mount
  since upstream has fixed the issue in a different manner (by
  taking advantage of gnome-mount when available). Refixes bug #160904
* Wed Oct 18 2006 danw@suse.de
- Remove dead patches
* Wed Oct 04 2006 jhargadon@suse.de
- update to version 2.16.1
- Don't show every kbps speed available
- Drop locks when re-entering main loop
- Remove read_watch before dispatching request
- translation updates
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 2.16.0
- translation updates
* Sat Aug 26 2006 jhargadon@suse.de
- update to version 2.15.7
- Improve the communication protocol
- Do ref counting of init/shutdown
- translation updates
- Don't show copy disc option when drive is empty
- Display drive speeds as floating point
- Install a desktop file to handle iso files
- Set sensitivity of Write to disc menu item
- Populate drive selection list correctly
- Fix some temp file leaks
- Only allow editing label when burning from burn://
- Only ask for the types of media on which data will fit
* Sat Jun 03 2006 gekker@suse.de
- Add cdrdao to Requires (#181285)
* Wed May 10 2006 federico@novell.com
- Added nautilus-cd-burner-142860-get-drive-from-desktop-icon.diff to
  fix https://bugzilla.novell.com/show_bug.cgi?id=142860.  This will
  add a "Copy Disc" command to the contextual menu for CD-ROM desktop
  icons.
* Wed Apr 26 2006 sreeves@suse.de
- Fix for 155740 - new Icon.
* Fri Apr 21 2006 joeshaw@suse.de
- Fix a bug where DVD+R DL was left out of a list of supported
  media types, preventing them from being burned.  (bnc #164032)
* Tue Apr 11 2006 sbrabec@suse.cz
- Translate desktop files, added icon.
- Use nautilus for opening burn:/// (#162752).
* Tue Apr 11 2006 fejj@suse.de
- Use HAL to unmount CDs so that we don't get an error about
  the drive not being listed in /etc/fstab this fixing
  bug #160904.
* Fri Mar 17 2006 jpr@suse.de
- Check correct location for ISO image (#158711)
* Tue Mar 14 2006 rodrigo@suse.de
- Updated to 2.12.3, fixes #143578.
  (#143578 Nautilus fails to write CD when requested)
- Removed upstreamed patch.
* Tue Mar 07 2006 jpr@suse.de
- Remove Icon field for now to fix build.
* Sat Feb 18 2006 gekker@suse.de
- Fixup .desktop file for UI team
* Thu Feb 16 2006 gekker@suse.de
- Fix memory corruption (b.g.o#322826)
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 01 2005 gekker@suse.de
- Update to version 2.12.2
* Fri Oct 14 2005 gekker@suse.de
- Update to version 2.12.1
* Wed Sep 14 2005 sbrabec@suse.cz
- Require dvd+rw-tools (#116772).
* Tue Sep 06 2005 gekker@suse.de
- Update to version 2.12.0 (GNOME 2.12)
* Wed Aug 24 2005 gekker@suse.de
- Update to version 2.11.7
* Fri Aug 12 2005 gekker@suse.de
- Update to version 2.11.6
* Wed Aug 03 2005 gekker@suse.de
- Update to version 2.11.5
* Sat Jul 23 2005 gekker@suse.de
- Update to 2.11.4
- Remove upstreamed HAL API patch
* Tue Jun 21 2005 sbrabec@suse.cz
- Split devel subpackage.
* Fri Jun 17 2005 sbrabec@suse.cz
- Updated to version 2.11.3.
- Build with HAL support.
- HAL API patch.
  http://bugs.gentoo.org/show_bug.cgi?id=91928
* Sat Mar 19 2005 clahey@suse.de
- Add a .desktop file for cd burner.
* Thu Mar 10 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Fri Mar 04 2005 gekker@suse.de
- Update to version 2.9.8
* Sat Feb 12 2005 gekker@suse.de
- Update to version 2.9.6
* Tue Feb 08 2005 gekker@suse.de
- Update to version 2.9.5
- added gnome-desktop and startup-notification to neededforbuild
* Mon Feb 07 2005 ro@suse.de
- added gnome-menus to neededforbuild
* Mon Jan 24 2005 ro@suse.de
- fix build on lib64
* Thu Jan 20 2005 clahey@suse.de
- Updated to version 2.9.4.
* Wed Nov 03 2004 mmj@suse.de
- locale rename: no -> nb
* Thu Oct 14 2004 ro@suse.de
- complete libexecdir usage
* Tue Oct 12 2004 sbrabec@suse.cz
- Fixed libexecdir for bi-arch (#47050).
* Mon May 10 2004 sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Fri Feb 20 2004 sbrabec@suse.cz
- Fixed names of GNOME2 packages.
* Thu Feb 12 2004 hhetter@suse.de
-  gconf schema (de-)installation in %%post and %%postun
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Mon Oct 27 2003 sbrabec@suse.cz
- Updated to version 0.6.0.
* Thu Oct 09 2003 hhetter@suse.de
- updated to version 0.5.3
* Wed Aug 20 2003 sbrabec@suse.cz
- Updated to version 0.5.0.
* Tue Aug 19 2003 sbrabec@suse.cz
- Updated neededforbuild (rename of librsvg2, eel2).
* Tue Jul 15 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jul 11 2003 hhetter@suse.de
- %%_lib fixes
* Tue Jul 01 2003 sbrabec@suse.cz
- Updated to version 0.4.3.
- Biarch paths fix.
* Mon Jun 30 2003 ro@suse.de
- use find_lang
- added nautilus2 to neededforbuild
* Thu Feb 27 2003 sbrabec@suse.cz
- FHS fix.
* Fri Jan 31 2003 hhetter@suse.de
- initial SuSE package
openSUSE Build Service is sponsored by