[packages/input-pad: 1/2] - updated to 1.0.2 - pl, install time dependencies, py_postclean
qboosh
qboosh at pld-linux.org
Tue Nov 20 21:10:27 CET 2012
commit 1918cf5605fe624ba86b701b138ff28485e79388
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 20 20:41:35 2012 +0100
- updated to 1.0.2
- pl, install time dependencies, py_postclean
input-pad.spec | 73 ++++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 53 insertions(+), 20 deletions(-)
---
diff --git a/input-pad.spec b/input-pad.spec
index b0ebbcf..96fd943 100644
--- a/input-pad.spec
+++ b/input-pad.spec
@@ -1,50 +1,79 @@
Summary: On-screen Input Pad to Send Characters with Mouse
+Summary(pl.UTF-8): Pole wprowadzania znaków na ekranie przy użyciu myszy
Name: input-pad
-Version: 1.0.1
-Release: 5
+Version: 1.0.2
+Release: 1
License: LGPL v2+
Group: Libraries
+#Source0Download: http://code.google.com/p/input-pad/downloads/list
Source0: http://input-pad.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: 320461990a87fc31fd504c438fe9707a
+# Source0-md5: cfb03c042e699858d80e7c95efbc2092
URL: http://code.google.com/p/input-pad/
-BuildRequires: eekboard-devel
-BuildRequires: gtk+3-devel
+BuildRequires: eekboard-devel >= 1.0.6
+BuildRequires: glib2-devel >= 1:2.8
+BuildRequires: gobject-introspection-devel >= 0.6.8
+BuildRequires: gtk+3-devel >= 3.0
+BuildRequires: intltool >= 0.35.0
BuildRequires: libxklavier-devel >= 4.0
-BuildRequires: libxml2-devel
+BuildRequires: libxml2-devel >= 2.0
BuildRequires: pkgconfig
-BuildRequires: python-devel
+BuildRequires: python-devel >= 1:2.5
BuildRequires: swig-python
+BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXtst-devel
BuildRequires: xorg-lib-libxkbfile-devel
+Requires: glib2 >= 1:2.8
+Requires: gtk+3 >= 3.0
+Requires: libxklavier-devel >= 4.0
+Requires: libxml2-devel >= 2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
The input pad is a tool to send a character on button to text
applications.
+%description -l pl.UTF-8
+Input Pad to narzędzie pozwalające na wysyłanie znaków do aplikacji
+tekstowych przyciskiem myszy.
+
%package devel
-Summary: Development tools for input-pad
+Summary: Development files for input-pad
+Summary(pl.UTF-8): Pliki programistyczne biblioteki input-pad
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.8
+Requires: gtk+3-devel >= 3.0
%description devel
The input-pad-devel package contains the header files.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe biblioteki input-pad.
+
%package -n python-input-pad
-Summary: Input Pad for python
-Group: Libraries
+Summary: Input Pad for Python
+Summary(pl.UTF-8): Biblioteka Input Pad dla Pythona
+Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
%description -n python-input-pad
-The input-pad-python package contains the python wrapper files.
+The input-pad-python package contains the Python wrapper files.
+
+%description -n python-input-pad -l pl.UTF-8
+Ten pakiet zawiera pliki obudowania Pythona dla biblioteki input-pad.
%package eek
Summary: Input Pad with eekboard extension
+Summary(pl.UTF-8): Rozszerzenie eekboard dla biblioteki input-pad
Group: Libraries
Requires: %{name} = %{version}-%{release}
%description eek
-The input-pad-eek package contains eekboard extension module
+The input-pad-eek package contains eekboard extension module.
+
+%description eek -l pl.UTF-8
+Ten pakiet zawiera moduł rozszerzenia eekboard dla biblioteki
+input-pad.
%prep
%setup -q
@@ -53,6 +82,7 @@ The input-pad-eek package contains eekboard extension module
%configure \
--with-gtk=3.0 \
--enable-eek \
+ --enable-pygobject2 \
--enable-xtest
%{__make}
@@ -67,40 +97,43 @@ rm -rf $RPM_BUILD_ROOT
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-1.0/modules/xkeysend/*.la
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-1.0/modules/kbdui/*.la
%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}-1.0/*.la
+%py_postclean
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS COPYING README
+%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_bindir}/input-pad
%attr(755,root,root) %{_libdir}/libinput-pad.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libinput-pad.so.[0-9]
+%attr(755,root,root) %ghost %{_libdir}/libinput-pad.so.1
+%{_libdir}/girepository-1.0/InputPad-1.0.typelib
%dir %{_libdir}/%{name}-1.0
%dir %{_libdir}/%{name}-1.0/modules
-%dir %{_libdir}/%{name}-1.0/modules/xkeysend
%dir %{_libdir}/%{name}-1.0/modules/kbdui
+%dir %{_libdir}/%{name}-1.0/modules/xkeysend
%attr(755,root,root) %{_libdir}/%{name}-1.0/modules/xkeysend/libinput-pad-xtest-gdk.so
%{_datadir}/%{name}
%{_pixmapsdir}/input-pad.png
%files devel
%defattr(644,root,root,755)
-%{_includedir}/%{name}-1.0
%attr(755,root,root) %{_libdir}/libinput-pad.so
+%{_includedir}/%{name}-1.0
%{_pkgconfigdir}/input-pad.pc
+%{_datadir}/gir-1.0/InputPad-1.0.gir
%files -n python-input-pad
%defattr(644,root,root,755)
%dir %{py_sitedir}/%{name}-1.0
-%attr(755,root,root) %{py_sitedir}/%{name}-1.0/*.so
-%attr(755,root,root) %{py_sitedir}/%{name}-1.0/*.py*
+%attr(755,root,root) %{py_sitedir}/%{name}-1.0/_input_pad*.so
+%{py_sitedir}/%{name}-1.0/*.py[co]
%{py_sitedir}/pyinput_pad.pth
%files eek
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/input-pad.git/commitdiff/0c7d457400a57b819b250aaabc4f9937927d4506
More information about the pld-cvs-commit
mailing list