3 %bcond_without static_libs # don't build static libraries
5 Summary: LIRC Client Daemon
6 Summary(pl.UTF-8): LIRCCD - demon kliencki LIRC
12 Source0: http://www.dolda2000.com/~fredrik/lirccd/%{name}-%{version}.tar.gz
13 # Source0-md5: 1a5f65094b5738117dfde263b7f90ef2
14 Patch0: %{name}-libc.patch
15 URL: http://www.dolda2000.com/~fredrik/lirccd/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The LIRC Client Daemon connects to the LIRC daemon, parses messages
20 received, and executes C-like scripts from that data (for more
21 information, see the README file that comes with the distribution).
23 The LIRC Client Daemon provides several advantages compared to LIRC's
24 own client control scheme. First, it can do things itself, making
25 itself useful even without other clients. Second, it "synchronizes"
26 all clients, so to speak. Since all clients connect to lirccd and
27 receive commands from it, there is no chance that client processes
28 that were started at different times enter different states. Lirccd
29 also provides a more advanced, hierarchical state system instead of
30 the linear system used in the old config scheme.
32 %description -l pl.UTF-8
33 Demon kliencki LIRC (LIRCCD) łączy się z demonem LIRC, analizuje
34 otrzymane komunikaty i wywołuje na podstawie tych danych skrypty w
35 stylu C (więcej informacji - nich można znaleźć w pliku README).
37 Demon kliencki LIRC ma kilka zalet w porównaniu ze schematem
38 sterowania klienckiego LIRC. Po pierwsze, może sam wykonywać pewne
39 czynności, przez co jest przydatny nawet bez innych klientów. Po
40 drugie, "synchronizuje" wszystkich klientów. Ponieważ wszyscy
41 klienci łączą się z lirccd i odbierają polecenia od niego, nie ma
42 możliwości, że procesy klienckie uruchomione o różnym czasie wejdą
43 w różne stany. Lirccd zapewnia także bardziej rozbudowany system
44 stanów zamiast systemu liniowego w starym schemacie konfiguracji.
47 Summary: Header files for LIRC client library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienta LIRC
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 Header files for LIRC client library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki klienta LIRC.
59 Summary: Static LIRC client library
60 Summary(pl.UTF-8): Statyczna biblioteka klienta LIRC
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 Static LIRC client library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka klienta LIRC.
76 %{!?with_static_libs:--disable-static}
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc README TODO lirccrc*.example
94 %attr(755,root,root) %{_bindir}/lirccd
95 %attr(755,root,root) %{_libdir}/liblirc_client.so.*.*.*
96 %attr(755,root,root) %ghost %{_libdir}/liblirc_client.so.0
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/liblirc_client.so
101 %{_libdir}/liblirc_client.la
104 %if %{with static_libs}
106 %defattr(644,root,root,755)
107 %{_libdir}/liblirc_client.a