[vdr-streamdev] Install locale files (#750084).
Ville Skyttä
scop at fedoraproject.org
Sun Nov 6 17:43:59 UTC 2011
commit e2b04fa43cbf40bce13e4f2276533ee5a30bb715
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Nov 6 19:43:52 2011 +0200
Install locale files (#750084).
vdr-streamdev.spec | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/vdr-streamdev.spec b/vdr-streamdev.spec
index 323d3e5..9257772 100644
--- a/vdr-streamdev.spec
+++ b/vdr-streamdev.spec
@@ -6,7 +6,7 @@
Name: vdr-%{pname}
Version: 0.5.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Streaming plug-in for VDR
Group: Applications/Multimedia
@@ -56,7 +56,7 @@ for f in CONTRIBUTORS HISTORY; do
done
%build
-make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr LOCALEDIR=$RPM_BUILD_ROOT%{_libdir}/vdr/locale all
+make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr LOCALEDIR=$PWD/locale all
%install
rm -rf $RPM_BUILD_ROOT
@@ -70,11 +70,15 @@ install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-server.conf
install -Dpm 644 %{SOURCE2} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-client.conf
+install -dm 755 $RPM_BUILD_ROOT%{_datadir}/locale
+cp -pR locale/* $RPM_BUILD_ROOT%{_datadir}/locale
+%find_lang %{name}-server
+%find_lang %{name}-client
%clean
rm -rf $RPM_BUILD_ROOT
-%files server
+%files server -f %{name}-server.lang
%defattr(-,root,root,-)
%{plugindir}/libvdr-%{pname}-server.so.%{apiver}
%{_libdir}/vdr/bin/externremux.sh
@@ -83,13 +87,16 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{configdir}/plugins/streamdev-server/streamdevhosts.conf
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
-%files client
+%files client -f %{name}-client.lang
%defattr(-,root,root,-)
%{plugindir}/libvdr-%{pname}-client.so.%{apiver}
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-client.conf
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
%changelog
+* Sun Nov 6 2011 Ville Skyttä <ville.skytta at iki.fi> - 0.5.1-4
+- Install locale files (#750084).
+
* Sun Oct 23 2011 Felix Kaechele <heffer at fedoraproject.org> - 0.5.1-3
- own the configuration dir
- add patch to fix the GPL in COPYING and the FSF address in some source files
More information about the scm-commits
mailing list