]> git.pld-linux.org Git - SPECS.git/blob - klineakconfig.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / klineakconfig.spec
1 %define         beta    beta2
2 Summary:        Program to map and configure your Easy Access Keys
3 Summary(pl.UTF-8):      Program do mapowania i konfiguracji klawiszy LinEAK
4 Name:           klineakconfig
5 Version:        0.9
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://dl.sourceforge.net/lineak/%{name}-%{version}.tar.gz
10 # Source0-md5:  b673575854f8d31443e05614ebb3e238
11 Patch0:         %{name}-desktop.patch
12 URL:            http://lineak.sourceforge.net/
13 BuildRequires:  automake
14 BuildRequires:  kdelibs-devel
15 BuildRequires:  lineakd-defs
16 BuildRequires:  lineakd-devel
17 BuildRequires:  rpmbuild(macros) >= 1.129
18 BuildRequires:  sed >= 4.0
19 Requires:       lineakd >= 0.4pre2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 KlineakConfig is a configuration and control program for the lineakd
24 daemon that provides access to your keyboards easy access keys.
25
26 %description -l pl.UTF-8
27 KlineakConfig to program do konfiguracji i sterowania demonem lineakd
28 pozwalającym na korzystanie z "klawiszy łatwego dostępu".
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 # kill stupid plugin dir existence test
35 sed -i -e 's/test ! -d \$pdir/false/' configure
36
37 %build
38 cp -f /usr/share/automake/config.* admin
39 kde_appsdir="%{_desktopdir}"; export kde_appsdir
40 kde_htmldir="%{_kdedocdir}"; export kde_htmldir
41
42 %configure \
43         --disable-rpath \
44         --with-lineak-plugindir=%{_libdir}/lineakd/plugins \
45         --with-qt-libraries=%{_libdir}
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52          DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{name} --with-kde
55
56 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/locolor
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README TODO
64 %attr(755,root,root) %{_bindir}/klineakconfig
65 %{_datadir}/apps/klineakconfig
66 %{_desktopdir}/*.desktop
67 %{_iconsdir}/*/*/apps/*.png
This page took 0.088899 seconds and 3 git commands to generate.