SPECS: gkrellm-volume.spec - enable alsa - enable i18n - rel 3

wolf wolf at pld-linux.org
Fri Oct 13 20:26:13 CEST 2006


Author: wolf                         Date: Fri Oct 13 18:26:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- enable alsa
- enable i18n
- rel 3

---- Files affected:
SPECS:
   gkrellm-volume.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/gkrellm-volume.spec
diff -u SPECS/gkrellm-volume.spec:1.23 SPECS/gkrellm-volume.spec:1.24
--- SPECS/gkrellm-volume.spec:1.23	Sun Feb 19 01:17:36 2006
+++ SPECS/gkrellm-volume.spec	Fri Oct 13 20:26:07 2006
@@ -1,49 +1,61 @@
 # $Revision$, $Date$
-Summary:	volume plugin for gkrellm
+Summary:	Sound volume plugin for gkrellm
 Summary(pl):	Wtyczka kontroli głośności dla gkrellm
 Summary(pt_BR):	Plugin gkrellm para controle do volume de dispositivos de som
 Name:		gkrellm-volume
 Version:	2.1.13
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL
 Group:		X11/Applications
 Source0:	http://gkrellm.luon.net/files/%{name}-%{version}.tar.gz
 # Source0-md5:	d9f4c36d7fdf9c9f755c99f742b573c4
+Patch0:		%{name}-i18n.patch
 BuildRequires:	gkrellm-devel >= 2.0
 BuildRequires:	pkgconfig
 Requires:	gkrellm >= 2.0.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A GKrellM plugin wich allows you to control the (OSS) mixer devices of
-you choice.
+A GKrellM plugin wich allows you to control the mixer devices of your
+choice.
 
 %description -l pl
-Wtyczka GKrellM pozwalająca kontrolować ustawienia miksera (OSS).
+Wtyczka GKrellM pozwalająca kontrolować ustawienia miksera.
 
 %description -l pt_BR
-Plugin gkrellm para controle do volume de dispositivos de som (OSS).
+Plugin gkrellm para controle do volume de dispositivos de som.
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 %{__make} \
 	GKRELLM_INCLUDE=`pkg-config --cflags gkrellm` \
 	PLUGIN_DIR=%{_libdir}/gkrellm2/plugins \
 	LOCALEDIR=%{_datadir}/locale \
-	CC="%{__cc} \$(FLAGS) %{rpmcflags}"
+	CC="%{__cc} \$(FLAGS) %{rpmcflags}" \
+	enable_nls=1 \
+	enable_alsa=1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -D volume.so $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins/volume.so
+install -d $RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins
+
+%{__make} install \
+	PLUGIN_DIR=$RPM_BUILD_ROOT%{_libdir}/gkrellm2/plugins \
+	LOCALEDIR=$RPM_BUILD_ROOT%{_datadir}/locale \
+	INSTALL_PROGRAM="install" \
+	enable_nls=1
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README Changelog
 %attr(755,root,root) %{_libdir}/gkrellm2/plugins/volume.so
@@ -54,6 +66,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/10/13 18:26:07  wolf
+- enable alsa
+- enable i18n
+- rel 3
+
 Revision 1.23  2006/02/19 00:17:36  wolf
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gkrellm-volume.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list