Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
input-pad
input-pad.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File input-pad.spec of Package input-pad
# # spec file for package input-pad # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libinput_paddir %{_libdir}/%{name}-1.0 %define moduledir %{_libdir}/%{name}-1.0/modules %define kbduidir %{_libdir}/%{name}-1.0/modules/kbdui %define xkeysenddir %{_libdir}/%{name}-1.0/modules/xkeysend %define build_xtest (0%{suse_version} > 1210) Name: input-pad Version: 1.0.3 Release: 1 Summary: On-screen Input Pad to Send Characters with Mouse License: LGPL-2.0+ Group: System/GUI/Other URL: http://code.google.com/p/input-pad/ Source0: http://input-pad.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel BuildRequires: gtk2-devel BuildRequires: gtk3-devel BuildRequires: libtool %if 0%{suse_version} > 1210 BuildRequires: libxkbfile-devel %endif BuildRequires: libxklavier-devel >= 4.0 BuildRequires: libxml2-devel >= 2.0 BuildRequires: intltool BuildRequires: pkgconfig %if %{build_xtest} BuildRequires: libXtst-devel %endif BuildRequires: gobject-introspection-devel BuildRequires: python-devel BuildRequires: swig BuildRequires: eekboard-devel Requires: gobject-introspection Requires: python3-gobject %description The input pad is a tool to send a character on button to text applications. %package devel Summary: Development tools for input-pad Group: Development/Libraries/C and C++" Requires: %{name} = %{version}-%{release} %description devel The input-pad-devel package contains the header files. %package -n python-input-pad Summary: Input Pad for Python GObject2 Group: System/Libraries Requires: %{name} = %{version}-%{release} Requires: python-gtk %description -n python-input-pad The input-pad-pygobject2 package contains the python wrapper files. %if %{build_xtest} %package xtest Summary: Input Pad with XTEST extension Group: System/Libraries Requires: %{name} = %{version}-%{release} %description xtest The input-pad-xtest package contains XTEST extension module %endif %package eek Summary: Input Pad with eekboard extension Group: System/Libraries Requires: %{name} = %{version}-%{release} %description eek The input-pad-eek package contains eekboard extension module %prep %setup -q %build %configure --enable-pygobject2 \ --enable-eek \ %if %{build_xtest} --enable-xtest \ %endif --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' if [ ! -d $RPM_BUILD_ROOT%kbduidir ] ; then mkdir -p $RPM_BUILD_ROOT%kbduidir fi if [ ! -d $RPM_BUILD_ROOT%xkeysenddir ] ; then mkdir -p $RPM_BUILD_ROOT%xkeysenddir fi rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %if %{build_xtest} rm -f $RPM_BUILD_ROOT%{xkeysenddir}/*.la rm -f $RPM_BUILD_ROOT%{xkeysenddir}/*.a %endif rm -f $RPM_BUILD_ROOT%{kbduidir}/*.la rm -f $RPM_BUILD_ROOT%{kbduidir}/*.a rm -f $RPM_BUILD_ROOT%{python_sitelib}/%{name}-1.0/*.la rm -f $RPM_BUILD_ROOT%{python_sitelib}/%{name}-1.0/*.a %find_lang %{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING README %{_bindir}/input-pad %dir %libinput_paddir %dir %moduledir %dir %xkeysenddir %dir %kbduidir %{_libdir}/libinput-pad.so.* %{_libdir}/girepository-1.0/InputPad-1.0.typelib %{_datadir}/%name %{_datadir}/pixmaps/input-pad.png %{_mandir}/man1/input-pad.1.gz %files devel %defattr(-,root,root,-) %{_includedir}/%{name}-1.0 %{_libdir}/libinput-pad.so %{_libdir}/pkgconfig/*.pc %{_datadir}/gir-1.0/InputPad-1.0.gir %files -n python-input-pad %defattr(-,root,root,-) %{_libdir}/python2.7/site-packages/%{name}-1.0 %{_libdir}/python2.7/site-packages/pyinput_pad.pth %if %{build_xtest} %files xtest %defattr(-,root,root,-) %xkeysenddir/libinput-pad-xtest-gdk.so %endif %files eek %defattr(-,root,root,-) %kbduidir/libinput-pad-eek-gtk.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor