From 76ef832ce5348d12a871223d4c034c7daeaddb82 Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Mon, 17 Oct 2011 18:47:27 +0100 Subject: Adding the remaining Mandriva patches and spec files --- .../applications/kvolumeosd/kde3-kvolumeosd.spec | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 mandriva/2010.2/applications/kvolumeosd/kde3-kvolumeosd.spec (limited to 'mandriva/2010.2/applications/kvolumeosd/kde3-kvolumeosd.spec') diff --git a/mandriva/2010.2/applications/kvolumeosd/kde3-kvolumeosd.spec b/mandriva/2010.2/applications/kvolumeosd/kde3-kvolumeosd.spec new file mode 100644 index 000000000..51b22059c --- /dev/null +++ b/mandriva/2010.2/applications/kvolumeosd/kde3-kvolumeosd.spec @@ -0,0 +1,94 @@ +%define oname KVolumeOSD + +Name: kde3-kvolumeosd +Version: 0.1 +Release: %mkrel 6 +Summary: An application showing OSD to respond volume buttons +License: GPLv2+ +Group: Graphical desktop/KDE3 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +URL: http://www.kde-apps.org/content/show.php?content=80354 +Source: http://www.kde-apps.org/CONTENT/content-files/80354-%{oname}-%{version}.tar.gz +Patch0: kde-3.5.10-acinclude.patch +Patch1: fix_autotools.patch +BuildRequires: kde3-macros +%if %mdkversion < 201000 +BuildRequires: autoconf <= 1:2.63 +BuildRequires: automake >= 1.6.1 +%else +BuildRequires: autoconf >= 1:2.65 +BuildRequires: automake >= 1.11 +%endif +BuildRequires: kdelibs-devel +BuildRequires: desktop-file-utils +Requires: kdemultimedia-kmix + +%description +KVolumeOSD is a simple KDE application that runs in the background and +responds to volume buttons by showing a little OSD. It delegates the +actual job of adjusting the volume to KMix. + +%prep +%setup -q -n %{oname} +%if %mdkversion >= 201000 +%patch0 -p1 +%patch1 -p1 +%endif + +%build +make -f Makefile.cvs +%configure_kde3 +%make + +%install +rm -rf %buildroot +%makeinstall_std + +desktop-file-install --vendor='' --delete-original \ + --dir %buildroot%_kde3_datadir/applications/kde \ + --add-category='Audio;Mixer' \ + %buildroot%_kde3_datadir/applnk/Utilities/kvolumeosd.desktop + +%clean +rm -rf %buildroot + +%if %mdkversion < 200900 +%post +%{update_menus} +%update_kde3_icon_cache hicolor + +%postun +%{clean_menus} +%clean_kde3_icon_cache hicolor +%endif + +%files +%defattr(-,root,root) +%{_kde3_bindir}/kvolumeosd +%{_kde3_appsdir}/kvolumeosd +%{_kde3_datadir}/doc/HTML/en/kvolumeosd +%{_kde3_datadir}/applications/kde/*.desktop +%{_kde3_iconsdir}/hicolor/*/apps/* + + +%changelog +* Mon Jul 18 2011 Tim Williams 0.1-6mdv2010.2 ++ Rebuild for Trinity + +* Fri Jul 23 2010 Tim Williams 0.1-5mdv2010.1 ++ Rebuild MDV 2010.1 + +* Sun Feb 14 2010 Atilla ÖNTAŞ 0.1-4mvt2010.0 ++ Fix build with autoconf 2.65 and automake 1.11 ++ Change package group + +* Mon Nov 16 2009 Tim Williams 0.1-3mdv2010.0 ++ Rebuild MDV 2010.0 + +* Fri May 09 2008 Funda Wang 0.1-2mdv2009.0 ++ Revision: 205328 +- fix post and postun script +- fix name +- import source and spec +- Created package structure for kde3-kvolumeosd. + -- cgit v1.2.1