michael@1: Summary: Remote control over bluetooth, ethernet, or infrared michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Name: anyremote michael@1: Version: 5.3 michael@1: Release: 20101201 michael@1: License: GPLv2+ michael@1: Group: Applications/System michael@1: Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz michael@1: Source1: anyremote.init michael@1: Source2: anyremote.conf michael@1: URL: http://anyremote.sourceforge.net/ michael@1: BuildRequires: bluez-libs-devel michael@1: BuildRequires: libX11-devel, libXtst-devel michael@1: BuildRequires: glib2-devel, dbus-devel, dbus-glib-devel michael@1: Requires: anyremote-data >= %{version}-%{release} michael@1: Requires(post): fastinit, chkconfig michael@1: Requires: bc, dbus-glib michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: michael@0: %description michael@1: The goal of anyRemote is to provide remote control service on michael@1: GNU/Linux through Bluetooth, InfraRed, Wi-Fi, or TCP/IP connections. michael@1: The anyRemote service supports a wide range of modern cell phones michael@1: like Nokia, SonyEricsson, Motorola and others. michael@0: michael@0: %prep michael@0: %setup -q michael@1: #%{__sed} -i \ michael@1: # -e 's;\(for ac_header in\) \(X11/extensions/XTest.h\);\1 /usr/include/\2;' \ michael@1: # configure michael@0: michael@0: %build michael@0: %configure michael@0: make %{?_smp_mflags} michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: michael@1: # install init scripts and configuration files michael@1: install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d michael@1: install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/%{name} michael@1: install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig michael@1: install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/%{name} michael@1: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@1: %post michael@1: /sbin/chkconfig --add anyremote michael@1: michael@1: %postun michael@1: /sbin/service anyremote condrestart >/dev/null 2>&1 || : michael@1: michael@1: %preun michael@1: if [ "$1" = 0 ]; then michael@1: /sbin/service anyremote stop >/dev/null 2>&1 || : michael@1: /sbin/chkconfig --del anyremote michael@1: fi michael@1: michael@1: %files michael@0: %defattr(-,root,root,-) michael@0: %{_bindir}/%{name} michael@0: %{_mandir}/man1/%{name}.1.gz michael@1: %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/%{name} michael@1: %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/%{name} michael@0: michael@1: %package data michael@1: Summary: Configuration files for anyRemote michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Group: Applications/System michael@0: michael@0: %description data michael@1: Configuration files for the anyRemote service. michael@0: michael@0: %files data michael@0: %defattr(-,root,root,-) michael@0: %{_datadir}/%{name} michael@0: michael@1: %package doc michael@1: Summary: Documentation for anyRemote michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Group: Applications/System michael@0: michael@0: %description doc michael@1: Documentation files for the anyRemote service. michael@0: michael@0: %files doc michael@0: %defattr(-,root,root,-) michael@0: %doc %{_defaultdocdir}/%{name} michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 5.3-20101201 michael@1: - Repackage for MeeGo 1.1, adding configuration, service, and init script logic michael@0: michael@0: * Tue Oct 19 2010 Mikhail Fedotov - 5.3 michael@0: - Support volume control through PulseAudio. Added configuration files for Miro player, michael@0: MPRIS-compatible players. Some fixes in configuration files. michael@0: michael@0: * Wed Aug 25 2010 Mikhail Fedotov - 5.2 michael@0: - Enhanced support for Get(password) command. Properly handle ampersand in file michael@0: names. michael@0: michael@0: * Thu Jul 8 2010 Mikhail Fedotov - 5.1.3 michael@0: - Some configuration files and documentation were corrected. michael@1: Added configuration file for QMMP. michael@0: michael@0: * Sat Mar 13 2010 Mikhail Fedotov - 5.1.2 michael@0: - Some configuration files and documentation were corrected. michael@0: michael@0: * Wed Feb 03 2010 Mikhail Fedotov - 5.1.1 michael@0: - Fixed Red Hat bugzilla bug 560182. Some configuration files and documentation michael@0: were corrected. michael@0: michael@0: * Mon Jan 04 2010 Mikhail Fedotov - 5.1 michael@0: - Better support of Command Fusion's iViewer, tested on iPod Touch. michael@1: Exclude keyjnote, kpdf, kuickshow, kview, noatun and KDE3-related michael@0: configuration files from the release. Added configuration file for Dragon player. michael@0: Add KDE4 support in Kaffeine configuration file. michael@0: michael@0: * Mon Sep 14 2009 Mikhail Fedotov - 5.0 michael@0: - anyRemote was rewritten using multithreading and GLib. michael@0: Native D-BUS support. Format of configuration file was significantly changed. michael@0: michael@0: * Mon Mar 30 2009 Mikhail Fedotov - 4.18.1-1 michael@0: - Add GuiAppModes tag to configuration files. michael@0: michael@0: * Tue Mar 17 2009 Mikhail Fedotov - 4.18-1 michael@0: - Get(password) and Get(ping) commands were added. michael@0: Experimental support for iPhones/iPods with Command Fusion iViewer installed. michael@0: michael@0: * Wed Feb 4 2009 Mikhail Fedotov - 4.17-1 michael@0: - Fixed crash with all-in-one2.cfg. Added configuration files for Impressive michael@0: (former KeyJnote, thanks to Cedric Barboiron). michael@0: michael@0: * Tue Jan 27 2009 Mikhail Fedotov - 4.16-1 michael@0: - Add possibility to set SDP service name. Corrections of configuration files. michael@0: Configuration files for KsCD/KDE4 and Eye-of-Gnome were added. michael@0: Created icon auto-upload feature. michael@0: michael@0: * Fri Jan 16 2009 Mikhail Fedotov - 4.15-1 michael@0: - Fixed crash issue in case of anyremote was runned without X. michael@0: Fix hang in Load() command in case of empty file. michael@0: michael@0: * Sat Jan 10 2009 Mikhail Fedotov - 4.14-1 michael@1: - Small corrections in configuration files. Configuration files for AlsaPlayer, michael@1: Digikam (thanks to Marcus Hardt) and GPicView were added. michael@0: Syntax of Emulate() command was extended. michael@0: michael@0: * Sat Dec 07 2008 Mikhail Fedotov - 4.13-1 michael@1: - Small corrections in configuration files. Configuration file for WmCtrl and michael@0: Juk/KDE4 were added. michael@0: michael@0: * Thu Nov 13 2008 Mikhail Fedotov - 4.12-1 michael@1: - Added configuration file for XBMC (thanks to Everthon Valadao), Okular michael@1: Gwenview/KDE4 and Amarok2/KDE4. Support nonn-UTF8 encodings in michael@0: configurational files. Intergrated FreeBSD patch by Alex Samorukov. michael@0: michael@0: * Mon Oct 20 2008 Mikhail Fedotov - 4.11-1 michael@1: - Fixed issues with non-correct handling of files and directories names with michael@1: braces and brackets in some configuration files. michael@0: Several small changes in code. michael@0: michael@0: * Mon Oct 6 2008 Mikhail Fedotov - 4.10-1 michael@1: - Fixed issue with non-correct handling of files and directories names with michael@1: braces and brackets in some configuration files. A lot of changes in michael@0: documentation. Several small changes in code. michael@0: michael@0: * Mon Sep 29 2008 Mikhail Fedotov - 4.9-1 michael@1: - Get(version) command was introduced. Added possibility to create michael@0: user-specific phone initialization. michael@0: michael@0: * Tue Sep 9 2008 Mikhail Fedotov - 4.8.1-1 michael@0: - Small corrections. michael@0: michael@0: * Thu Sep 4 2008 Mikhail Fedotov - 4.8-1 michael@0: - Added configuration file for gThumb. michael@0: Added GuiDescription field to configuration files. michael@0: michael@0: * Thu Aug 7 2008 Mikhail Fedotov - 4.7.1-1 michael@0: - Fix crash issue if no bluetooth service runned michael@0: michael@0: * Tue Aug 5 2008 Mikhail Fedotov - 4.7-1 michael@0: - Small enhancements michael@0: michael@0: * Fri May 30 2008 Mikhail Fedotov - 4.6-1 michael@0: - Small enhancements michael@0: michael@0: * Sun May 18 2008 Mikhail Fedotov - 4.5-1 michael@1: - Better integration with anyremote2http: -http command line michael@0: parameter was added. michael@0: michael@0: * Tue Mar 07 2008 Mikhail Fedotov - 4.4-1.fc8 michael@0: - Spec file correction. Some minor enhancemens. michael@0: michael@0: * Tue Mar 02 2008 Mikhail Fedotov - 4.3-4.fc8 michael@0: - Spec file correction. Move J2ME stuff out of the package. michael@0: michael@0: * Tue Feb 26 2008 Mikhail Fedotov - 4.3-3.fc8 michael@0: - Spec file correction michael@0: michael@0: * Sun Feb 17 2008 Mikhail Fedotov - 4.3-2.fc8 michael@0: - Spec file correction michael@0: michael@0: * Mon Feb 15 2008 Mikhail Fedotov - 4.3-1.fc8 michael@0: - Bugfixes and small enhancements.Support for touchscreen devices was improved michael@0: michael@0: * Fri Jan 10 2008 Mikhail Fedotov - 4.2-1.fc8 michael@0: - Spec file modified.