Fri, 11 Mar 2011 21:36:51 +0100
Adjust specification build configurations to port packages to MeeGo.
michael@1 | 1 | Summary: Remote control over bluetooth, ethernet, or infrared |
michael@1 | 2 | Vendor: Europalab Software |
michael@1 | 3 | Packager: Michael Schloh von Bennewitz |
michael@1 | 4 | Distribution: MeeGo Thirdparty |
michael@1 | 5 | Name: anyremote |
michael@1 | 6 | Version: 5.3 |
michael@1 | 7 | Release: 20101201 |
michael@1 | 8 | License: GPLv2+ |
michael@1 | 9 | Group: Applications/System |
michael@1 | 10 | Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz |
michael@1 | 11 | Source1: anyremote.init |
michael@1 | 12 | Source2: anyremote.conf |
michael@1 | 13 | URL: http://anyremote.sourceforge.net/ |
michael@1 | 14 | BuildRequires: bluez-libs-devel |
michael@1 | 15 | BuildRequires: libX11-devel, libXtst-devel |
michael@1 | 16 | BuildRequires: glib2-devel, dbus-devel, dbus-glib-devel |
michael@1 | 17 | Requires: anyremote-data >= %{version}-%{release} |
michael@1 | 18 | Requires(post): fastinit, chkconfig |
michael@1 | 19 | Requires: bc, dbus-glib |
michael@1 | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 21 | |
michael@0 | 22 | %description |
michael@1 | 23 | The goal of anyRemote is to provide remote control service on |
michael@1 | 24 | GNU/Linux through Bluetooth, InfraRed, Wi-Fi, or TCP/IP connections. |
michael@1 | 25 | The anyRemote service supports a wide range of modern cell phones |
michael@1 | 26 | like Nokia, SonyEricsson, Motorola and others. |
michael@0 | 27 | |
michael@0 | 28 | %prep |
michael@0 | 29 | %setup -q |
michael@1 | 30 | #%{__sed} -i \ |
michael@1 | 31 | # -e 's;\(for ac_header in\) \(X11/extensions/XTest.h\);\1 /usr/include/\2;' \ |
michael@1 | 32 | # configure |
michael@0 | 33 | |
michael@0 | 34 | %build |
michael@0 | 35 | %configure |
michael@0 | 36 | make %{?_smp_mflags} |
michael@0 | 37 | |
michael@0 | 38 | %install |
michael@0 | 39 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 40 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 41 | |
michael@1 | 42 | # install init scripts and configuration files |
michael@1 | 43 | install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d |
michael@1 | 44 | install -c -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d/%{name} |
michael@1 | 45 | install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig |
michael@1 | 46 | install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/%{name} |
michael@1 | 47 | |
michael@0 | 48 | %clean |
michael@0 | 49 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 50 | |
michael@1 | 51 | %post |
michael@1 | 52 | /sbin/chkconfig --add anyremote |
michael@1 | 53 | |
michael@1 | 54 | %postun |
michael@1 | 55 | /sbin/service anyremote condrestart >/dev/null 2>&1 || : |
michael@1 | 56 | |
michael@1 | 57 | %preun |
michael@1 | 58 | if [ "$1" = 0 ]; then |
michael@1 | 59 | /sbin/service anyremote stop >/dev/null 2>&1 || : |
michael@1 | 60 | /sbin/chkconfig --del anyremote |
michael@1 | 61 | fi |
michael@1 | 62 | |
michael@1 | 63 | %files |
michael@0 | 64 | %defattr(-,root,root,-) |
michael@0 | 65 | %{_bindir}/%{name} |
michael@0 | 66 | %{_mandir}/man1/%{name}.1.gz |
michael@1 | 67 | %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/%{name} |
michael@1 | 68 | %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/%{name} |
michael@0 | 69 | |
michael@1 | 70 | %package data |
michael@1 | 71 | Summary: Configuration files for anyRemote |
michael@1 | 72 | Vendor: Europalab Software |
michael@1 | 73 | Packager: Michael Schloh von Bennewitz |
michael@1 | 74 | Distribution: MeeGo Thirdparty |
michael@1 | 75 | Group: Applications/System |
michael@0 | 76 | |
michael@0 | 77 | %description data |
michael@1 | 78 | Configuration files for the anyRemote service. |
michael@0 | 79 | |
michael@0 | 80 | %files data |
michael@0 | 81 | %defattr(-,root,root,-) |
michael@0 | 82 | %{_datadir}/%{name} |
michael@0 | 83 | |
michael@1 | 84 | %package doc |
michael@1 | 85 | Summary: Documentation for anyRemote |
michael@1 | 86 | Vendor: Europalab Software |
michael@1 | 87 | Packager: Michael Schloh von Bennewitz |
michael@1 | 88 | Distribution: MeeGo Thirdparty |
michael@1 | 89 | Group: Applications/System |
michael@0 | 90 | |
michael@0 | 91 | %description doc |
michael@1 | 92 | Documentation files for the anyRemote service. |
michael@0 | 93 | |
michael@0 | 94 | %files doc |
michael@0 | 95 | %defattr(-,root,root,-) |
michael@0 | 96 | %doc %{_defaultdocdir}/%{name} |
michael@0 | 97 | |
michael@0 | 98 | %changelog |
michael@1 | 99 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 5.3-20101201 |
michael@1 | 100 | - Repackage for MeeGo 1.1, adding configuration, service, and init script logic |
michael@0 | 101 | |
michael@0 | 102 | * Tue Oct 19 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.3 |
michael@0 | 103 | - Support volume control through PulseAudio. Added configuration files for Miro player, |
michael@0 | 104 | MPRIS-compatible players. Some fixes in configuration files. |
michael@0 | 105 | |
michael@0 | 106 | * Wed Aug 25 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.2 |
michael@0 | 107 | - Enhanced support for Get(password) command. Properly handle ampersand in file |
michael@0 | 108 | names. |
michael@0 | 109 | |
michael@0 | 110 | * Thu Jul 8 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.3 |
michael@0 | 111 | - Some configuration files and documentation were corrected. |
michael@1 | 112 | Added configuration file for QMMP. |
michael@0 | 113 | |
michael@0 | 114 | * Sat Mar 13 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.2 |
michael@0 | 115 | - Some configuration files and documentation were corrected. |
michael@0 | 116 | |
michael@0 | 117 | * Wed Feb 03 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.1 |
michael@0 | 118 | - Fixed Red Hat bugzilla bug 560182. Some configuration files and documentation |
michael@0 | 119 | were corrected. |
michael@0 | 120 | |
michael@0 | 121 | * Mon Jan 04 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1 |
michael@0 | 122 | - Better support of Command Fusion's iViewer, tested on iPod Touch. |
michael@1 | 123 | Exclude keyjnote, kpdf, kuickshow, kview, noatun and KDE3-related |
michael@0 | 124 | configuration files from the release. Added configuration file for Dragon player. |
michael@0 | 125 | Add KDE4 support in Kaffeine configuration file. |
michael@0 | 126 | |
michael@0 | 127 | * Mon Sep 14 2009 Mikhail Fedotov <anyremote at mail.ru> - 5.0 |
michael@0 | 128 | - anyRemote was rewritten using multithreading and GLib. |
michael@0 | 129 | Native D-BUS support. Format of configuration file was significantly changed. |
michael@0 | 130 | |
michael@0 | 131 | * Mon Mar 30 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.18.1-1 |
michael@0 | 132 | - Add GuiAppModes tag to configuration files. |
michael@0 | 133 | |
michael@0 | 134 | * Tue Mar 17 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.18-1 |
michael@0 | 135 | - Get(password) and Get(ping) commands were added. |
michael@0 | 136 | Experimental support for iPhones/iPods with Command Fusion iViewer installed. |
michael@0 | 137 | |
michael@0 | 138 | * Wed Feb 4 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.17-1 |
michael@0 | 139 | - Fixed crash with all-in-one2.cfg. Added configuration files for Impressive |
michael@0 | 140 | (former KeyJnote, thanks to Cedric Barboiron). |
michael@0 | 141 | |
michael@0 | 142 | * Tue Jan 27 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.16-1 |
michael@0 | 143 | - Add possibility to set SDP service name. Corrections of configuration files. |
michael@0 | 144 | Configuration files for KsCD/KDE4 and Eye-of-Gnome were added. |
michael@0 | 145 | Created icon auto-upload feature. |
michael@0 | 146 | |
michael@0 | 147 | * Fri Jan 16 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.15-1 |
michael@0 | 148 | - Fixed crash issue in case of anyremote was runned without X. |
michael@0 | 149 | Fix hang in Load() command in case of empty file. |
michael@0 | 150 | |
michael@0 | 151 | * Sat Jan 10 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.14-1 |
michael@1 | 152 | - Small corrections in configuration files. Configuration files for AlsaPlayer, |
michael@1 | 153 | Digikam (thanks to Marcus Hardt) and GPicView were added. |
michael@0 | 154 | Syntax of Emulate() command was extended. |
michael@0 | 155 | |
michael@0 | 156 | * Sat Dec 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.13-1 |
michael@1 | 157 | - Small corrections in configuration files. Configuration file for WmCtrl and |
michael@0 | 158 | Juk/KDE4 were added. |
michael@0 | 159 | |
michael@0 | 160 | * Thu Nov 13 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.12-1 |
michael@1 | 161 | - Added configuration file for XBMC (thanks to Everthon Valadao), Okular |
michael@1 | 162 | Gwenview/KDE4 and Amarok2/KDE4. Support nonn-UTF8 encodings in |
michael@0 | 163 | configurational files. Intergrated FreeBSD patch by Alex Samorukov. |
michael@0 | 164 | |
michael@0 | 165 | * Mon Oct 20 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.11-1 |
michael@1 | 166 | - Fixed issues with non-correct handling of files and directories names with |
michael@1 | 167 | braces and brackets in some configuration files. |
michael@0 | 168 | Several small changes in code. |
michael@0 | 169 | |
michael@0 | 170 | * Mon Oct 6 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.10-1 |
michael@1 | 171 | - Fixed issue with non-correct handling of files and directories names with |
michael@1 | 172 | braces and brackets in some configuration files. A lot of changes in |
michael@0 | 173 | documentation. Several small changes in code. |
michael@0 | 174 | |
michael@0 | 175 | * Mon Sep 29 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.9-1 |
michael@1 | 176 | - Get(version) command was introduced. Added possibility to create |
michael@0 | 177 | user-specific phone initialization. |
michael@0 | 178 | |
michael@0 | 179 | * Tue Sep 9 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.8.1-1 |
michael@0 | 180 | - Small corrections. |
michael@0 | 181 | |
michael@0 | 182 | * Thu Sep 4 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.8-1 |
michael@0 | 183 | - Added configuration file for gThumb. |
michael@0 | 184 | Added GuiDescription field to configuration files. |
michael@0 | 185 | |
michael@0 | 186 | * Thu Aug 7 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.7.1-1 |
michael@0 | 187 | - Fix crash issue if no bluetooth service runned |
michael@0 | 188 | |
michael@0 | 189 | * Tue Aug 5 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.7-1 |
michael@0 | 190 | - Small enhancements |
michael@0 | 191 | |
michael@0 | 192 | * Fri May 30 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.6-1 |
michael@0 | 193 | - Small enhancements |
michael@0 | 194 | |
michael@0 | 195 | * Sun May 18 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.5-1 |
michael@1 | 196 | - Better integration with anyremote2http: -http command line |
michael@0 | 197 | parameter was added. |
michael@0 | 198 | |
michael@0 | 199 | * Tue Mar 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.4-1.fc8 |
michael@0 | 200 | - Spec file correction. Some minor enhancemens. |
michael@0 | 201 | |
michael@0 | 202 | * Tue Mar 02 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.3-4.fc8 |
michael@0 | 203 | - Spec file correction. Move J2ME stuff out of the package. |
michael@0 | 204 | |
michael@0 | 205 | * Tue Feb 26 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.3-3.fc8 |
michael@0 | 206 | - Spec file correction |
michael@0 | 207 | |
michael@0 | 208 | * Sun Feb 17 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.3-2.fc8 |
michael@0 | 209 | - Spec file correction |
michael@0 | 210 | |
michael@0 | 211 | * Mon Feb 15 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.3-1.fc8 |
michael@0 | 212 | - Bugfixes and small enhancements.Support for touchscreen devices was improved |
michael@0 | 213 | |
michael@0 | 214 | * Fri Jan 10 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.2-1.fc8 |
michael@0 | 215 | - Spec file modified. |