[gtk-vnc] Include po files in RPM builds
- From: Daniel P. Berrange <dberrange src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Include po files in RPM builds
- Date: Thu, 27 Aug 2009 10:17:52 +0000 (UTC)
commit b38c1e4b3340b3f5929ae0c114ce0a23dfe07ee9
Author: Daniel P. Berrange <berrange redhat com>
Date: Tue Aug 25 13:03:45 2009 +0100
Include po files in RPM builds
* gtk-vnc.spec.in, mingw32-gtk-vnc.spec.in: Use %lang related macros
to pull in po files to RPM
gtk-vnc.spec.in | 9 +++++----
mingw32-gtk-vnc.spec.in | 7 ++-----
2 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 84a51fd..1d7a9d4 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -10,11 +10,11 @@ Version: @VERSION@
Release: 1%{?dist}%{?extra_release}
License: LGPLv2+
Group: Development/Libraries
-Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-URL: http://gtk-vnc.sf.net/
+URL: http://live.gnome.org/gtk-vnc
BuildRequires: gtk2-devel pygtk2-devel python-devel zlib-devel
-BuildRequires: gnutls-devel cyrus-sasl-devel
+BuildRequires: gnutls-devel cyrus-sasl-devel intltool
%if %{with_plugin}
%if "%{fedora}" > "8"
BuildRequires: xulrunner-devel
@@ -87,6 +87,7 @@ rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a
rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la
%endif
+%find_lang %{name}
%clean
rm -fr %{buildroot}
@@ -95,7 +96,7 @@ rm -fr %{buildroot}
%postun -p /sbin/ldconfig
-%files
+%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING.LIB
%{_libdir}/lib*.so.*
diff --git a/mingw32-gtk-vnc.spec.in b/mingw32-gtk-vnc.spec.in
index faa3112..c8036bf 100644
--- a/mingw32-gtk-vnc.spec.in
+++ b/mingw32-gtk-vnc.spec.in
@@ -50,16 +50,13 @@ make DESTDIR=$RPM_BUILD_ROOT install
# Remove static libraries but DON'T remove *.dll.a files.
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libgtk-vnc-1.0.a
-# automake gives gvncviewer a strange name ...
-mv $RPM_BUILD_ROOT%{_mingw32_bindir}/i686-pc-mingw32-gvncviewer.exe \
- $RPM_BUILD_ROOT%{_mingw32_bindir}/gvncviewer.exe \
-
+%find_lang gtk-vnc
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f gtk-vnc.lang
%defattr(-,root,root)
%{_mingw32_bindir}/gvncviewer.exe
%{_mingw32_bindir}/libgtk-vnc-1.0-0.dll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]