]> git.pld-linux.org Git - packages/kanyremote.git/blob - kanyremote.spec
- up to 5.11.6
[packages/kanyremote.git] / kanyremote.spec
1 Summary:        kanyremote - bluetooth remote for KDE
2 Summary(pl.UTF-8):      kanyremote - pilot bluetooth dla KDE
3 Name:           kanyremote
4 Version:        5.11.6
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://dl.sourceforge.net/anyremote/%{name}-%{version}.tar.gz
9 # Source0-md5:  ecf10509f9ca9f335dccf6325eacbede
10 URL:            http://anyremote.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bluez-libs-devel
14 BuildRequires:  kde4-kdelibs-devel >= 4.3
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  rpm-pythonprov
17 BuildRequires:  rpmbuild(macros) >= 1.129
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The overall goal of this project is to provide wireless Bluetooth or
22 InfraRed remote control service for KDE. In contrast with other
23 Bluetooth remote control programs kAnyRemote is not limited to
24 SonyEricsson or JSR-82 capable phones. It was developed as just thin
25 "communication" layer beetween bluetooth-capabled phone and Linux, and
26 in principle could be configured to manage any software. But Bluetooth
27 is not the only way to use it. kAnyRemote could be used with:
28 - IR-capabled phone
29 - with cable connection
30 - it could accept incoming connection from network
31 - it could work with Java client written for JSR82 capabled phones
32   (like Bemused)
33 - it have limited support for existing Bemused clients.
34
35 AnyRemote is its console equivalent (you can find it in anyremote
36 package).
37
38 %description -l pl.UTF-8
39 Ogólnym celem tego projektu jest dostarczenie zdalnego,
40 bezprzewodowego systemu kontroli nad Linuksem z użyciem Bluetootha lub
41 podczerwieni (IrDA). W odróżnieniu od innych programów tego typu
42 kAnyRemote nie jest ograniczony do obsługi telefonów SonyEricssona czy
43 JSR-82. Został zaprojektowany jako cienka warstwa "komunikacyjna"
44 między telefonem posiadającym Bluetooth, a Linuksem i w zasadzie może
45 zostać skonfigurowany do obsługi każdej aplikacji. Połączenia
46 Bluetooth nie są jedynym sposobem by korzystać z programu. kAnyRemote
47 może być używany wraz z:
48 - telefonami posiadającymi podczerwień (IrDA)
49 - telefonami z połączeniem kablowym
50 - może odbierać połączenia przychodzące z sieci
51 - klientem Javy napisanym dla telefonów obsługujących JSR82 (jak
52   Bemused)
53 - już istniejącymi klientami Bemused (częściowa obsługa).
54
55 Jego konsolowym odpowiednikiem jest AnyRemote (można go znaleźć w
56 pakiecie anyremote).
57
58 %prep
59 %setup -q
60
61 %build
62 %configure \
63 %if "%{_lib}" == "lib64"
64         --enable-libsuffix=64 \
65 %endif
66         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
67         --with-qt-libraries=%{_libdir}
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}/kde}
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         kde_htmldir=%{_kdedocdir} \
77         kde_libs_htmldir=%{_kdedocdir} \
78         kdelnkdir=%{_desktopdir} \
79
80 # fix locale names
81 mv $RPM_BUILD_ROOT%{_datadir}/locale/cs{_CZ,}
82 mv $RPM_BUILD_ROOT%{_datadir}/locale/de{_DE,}
83 mv $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}
84 mv $RPM_BUILD_ROOT%{_datadir}/locale/fi{_FI,}
85 mv $RPM_BUILD_ROOT%{_datadir}/locale/fr{_FR,}
86 mv $RPM_BUILD_ROOT%{_datadir}/locale/hu{_HU,}
87 mv $RPM_BUILD_ROOT%{_datadir}/locale/it{_IT,}
88 mv $RPM_BUILD_ROOT%{_datadir}/locale/nl{_NL,}
89 mv $RPM_BUILD_ROOT%{_datadir}/locale/pl{_PL,}
90 mv $RPM_BUILD_ROOT%{_datadir}/locale/ru{_RU,}
91 mv $RPM_BUILD_ROOT%{_datadir}/locale/sk{_SK,}
92 mv $RPM_BUILD_ROOT%{_datadir}/locale/sv{_SE,}
93
94 %find_lang %{name} --with-kde
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS NEWS README
102 %attr(755,root,root) %{_bindir}/kanyremote
103 %{_desktopdir}/kanyremote.desktop
104 %{_pixmapsdir}/kanyremote*.png
105 %{_pixmapsdir}/kanyremote*.svg
This page took 0.631802 seconds and 3 git commands to generate.