SPECS: cdrdao.spec - updated gcdmaster files, enabled by default
qboosh
qboosh at pld-linux.org
Thu Sep 6 20:32:12 CEST 2007
Author: qboosh Date: Thu Sep 6 18:32:12 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated gcdmaster files, enabled by default
---- Files affected:
SPECS:
cdrdao.spec (1.68 -> 1.69)
---- Diffs:
================================================================
Index: SPECS/cdrdao.spec
diff -u SPECS/cdrdao.spec:1.68 SPECS/cdrdao.spec:1.69
--- SPECS/cdrdao.spec:1.68 Wed Sep 5 14:10:05 2007
+++ SPECS/cdrdao.spec Thu Sep 6 20:32:07 2007
@@ -1,10 +1,7 @@
# $Revision$, $Date$
#
-# TODO:
-# - update GNOME stuff
-#
# Conditional build:
-%bcond_with gnome # build gcdmaster
+%bcond_without gnome # don't build gcdmaster
%bcond_without mp3 # without MP3 support
%bcond_without ogg # without Ogg support
#
@@ -38,9 +35,10 @@
BuildRequires: libmad-devel >= 0.15.1b-4
%{?with_gnome:BuildRequires: libsigc++-devel >= 2.0.0}
BuildRequires: libstdc++-devel
-%{?with_ogg:BuildRequires: libvorbis-devel >= 1.0}
+%{?with_ogg:BuildRequires: libvorbis-devel >= 1:1.0}
BuildRequires: pccts >= 1.33MR33-8
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -65,6 +63,7 @@
Summary(pl.UTF-8): Frontend GNOME do cdrdao do składania płyt CD-Audio
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
+Requires(post,postun): shared-mime-info
%description gcdmaster
gcdmaster allows the creation of toc-files for cdrdao and can control
@@ -117,12 +116,19 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gcdmaster.desktop
install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/drivers
+rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
+
%clean
rm -rf $RPM_BUILD_ROOT
+%post gcdmaster
+%update_mime_database
+
+%postun gcdmaster
+%update_mime_database
+
%files
%defattr(644,root,root,755)
%doc CREDITS README README.PlexDAE
@@ -137,9 +143,11 @@
%files gcdmaster
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/gcdmaster
+%{_datadir}/gcdmaster
+%{_datadir}/mime/packages/gcdmaster.xml
%{_desktopdir}/gcdmaster.desktop
%{_pixmapsdir}/*
-%{_mandir}/man1/gcdmaster.*
+%{_mandir}/man1/gcdmaster.1*
%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -148,6 +156,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.69 2007/09/06 18:32:07 qboosh
+- updated gcdmaster files, enabled by default
+
Revision 1.68 2007/09/05 12:10:05 baggins
- 1.2.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cdrdao.spec?r1=1.68&r2=1.69&f=u
More information about the pld-cvs-commit
mailing list