]> git.pld-linux.org Git - packages/input-pad.git/blame - input-pad.spec
- release 4 (by relup.sh)
[packages/input-pad.git] / input-pad.spec
CommitLineData
a041360d 1Summary: On-screen Input Pad to Send Characters with Mouse
1918cf56 2Summary(pl.UTF-8): Pole wprowadzania znaków na ekranie przy użyciu myszy
a041360d 3Name: input-pad
7983db82 4Version: 1.0.3
d90ec2ef 5Release: 4
a041360d
JR
6License: LGPL v2+
7Group: Libraries
1918cf56 8#Source0Download: http://code.google.com/p/input-pad/downloads/list
a041360d 9Source0: http://input-pad.googlecode.com/files/%{name}-%{version}.tar.gz
7983db82 10# Source0-md5: 70f3d0273da97d576e80b4f45a112fec
a041360d 11URL: http://code.google.com/p/input-pad/
1918cf56
JB
12BuildRequires: eekboard-devel >= 1.0.6
13BuildRequires: glib2-devel >= 1:2.8
7983db82 14BuildRequires: gobject-introspection-devel >= 0.9.6
1918cf56
JB
15BuildRequires: gtk+3-devel >= 3.0
16BuildRequires: intltool >= 0.35.0
a041360d 17BuildRequires: libxklavier-devel >= 4.0
1918cf56 18BuildRequires: libxml2-devel >= 2.0
a041360d 19BuildRequires: pkgconfig
1918cf56 20BuildRequires: python-devel >= 1:2.5
a041360d 21BuildRequires: swig-python
1918cf56 22BuildRequires: xorg-lib-libX11-devel
a041360d
JR
23BuildRequires: xorg-lib-libXtst-devel
24BuildRequires: xorg-lib-libxkbfile-devel
1918cf56
JB
25Requires: glib2 >= 1:2.8
26Requires: gtk+3 >= 3.0
c5afd2a0
JR
27Requires: libxklavier >= 4.0
28Requires: libxml2 >= 2.0
a041360d
JR
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32The input pad is a tool to send a character on button to text
33applications.
34
1918cf56
JB
35%description -l pl.UTF-8
36Input Pad to narzędzie pozwalające na wysyłanie znaków do aplikacji
37tekstowych przyciskiem myszy.
38
a041360d 39%package devel
1918cf56
JB
40Summary: Development files for input-pad
41Summary(pl.UTF-8): Pliki programistyczne biblioteki input-pad
a041360d
JR
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
1918cf56
JB
44Requires: glib2-devel >= 1:2.8
45Requires: gtk+3-devel >= 3.0
c5afd2a0
JR
46Requires: libxklavier-devel >= 4.0
47Requires: libxml2-devel >= 2.0
a041360d
JR
48
49%description devel
50The input-pad-devel package contains the header files.
51
1918cf56
JB
52%description devel -l pl.UTF-8
53Ten pakiet zawiera pliki nagłówkowe biblioteki input-pad.
54
a041360d 55%package -n python-input-pad
1918cf56
JB
56Summary: Input Pad for Python
57Summary(pl.UTF-8): Biblioteka Input Pad dla Pythona
58Group: Libraries/Python
a041360d
JR
59Requires: %{name} = %{version}-%{release}
60
61%description -n python-input-pad
1918cf56
JB
62The input-pad-python package contains the Python wrapper files.
63
64%description -n python-input-pad -l pl.UTF-8
65Ten pakiet zawiera pliki obudowania Pythona dla biblioteki input-pad.
a041360d
JR
66
67%package eek
68Summary: Input Pad with eekboard extension
1918cf56 69Summary(pl.UTF-8): Rozszerzenie eekboard dla biblioteki input-pad
a041360d
JR
70Group: Libraries
71Requires: %{name} = %{version}-%{release}
72
73%description eek
1918cf56
JB
74The input-pad-eek package contains eekboard extension module.
75
76%description eek -l pl.UTF-8
77Ten pakiet zawiera moduł rozszerzenia eekboard dla biblioteki
78input-pad.
a041360d
JR
79
80%prep
81%setup -q
82
83%build
84%configure \
de32fbcf 85 --with-gtk=3.0 \
a041360d 86 --enable-eek \
1918cf56 87 --enable-pygobject2 \
a041360d
JR
88 --enable-xtest
89
90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
94
95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
97
98%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
99%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-1.0/modules/xkeysend/*.la
100%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}-1.0/modules/kbdui/*.la
101%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/%{name}-1.0/*.la
1918cf56 102%py_postclean
a041360d
JR
103
104%find_lang %{name}
105
106%clean
107rm -rf $RPM_BUILD_ROOT
108
1918cf56
JB
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
a041360d
JR
111
112%files -f %{name}.lang
113%defattr(644,root,root,755)
1918cf56 114%doc AUTHORS ChangeLog README TODO
a041360d
JR
115%attr(755,root,root) %{_bindir}/input-pad
116%attr(755,root,root) %{_libdir}/libinput-pad.so.*.*.*
1918cf56
JB
117%attr(755,root,root) %ghost %{_libdir}/libinput-pad.so.1
118%{_libdir}/girepository-1.0/InputPad-1.0.typelib
a041360d
JR
119%dir %{_libdir}/%{name}-1.0
120%dir %{_libdir}/%{name}-1.0/modules
a041360d 121%dir %{_libdir}/%{name}-1.0/modules/kbdui
1918cf56 122%dir %{_libdir}/%{name}-1.0/modules/xkeysend
a041360d
JR
123%attr(755,root,root) %{_libdir}/%{name}-1.0/modules/xkeysend/libinput-pad-xtest-gdk.so
124%{_datadir}/%{name}
125%{_pixmapsdir}/input-pad.png
7983db82 126%{_mandir}/man1/input-pad.1*
a041360d
JR
127
128%files devel
129%defattr(644,root,root,755)
a041360d 130%attr(755,root,root) %{_libdir}/libinput-pad.so
1918cf56 131%{_includedir}/%{name}-1.0
a041360d 132%{_pkgconfigdir}/input-pad.pc
1918cf56 133%{_datadir}/gir-1.0/InputPad-1.0.gir
a041360d
JR
134
135%files -n python-input-pad
136%defattr(644,root,root,755)
137%dir %{py_sitedir}/%{name}-1.0
1918cf56
JB
138%attr(755,root,root) %{py_sitedir}/%{name}-1.0/_input_pad*.so
139%{py_sitedir}/%{name}-1.0/*.py[co]
a041360d
JR
140%{py_sitedir}/pyinput_pad.pth
141
142%files eek
143%defattr(644,root,root,755)
144%attr(755,root,root) %{_libdir}/%{name}-1.0/modules/kbdui/libinput-pad-eek-gtk.so
This page took 0.066794 seconds and 4 git commands to generate.