anyremote/anyremote.spec

Fri, 11 Mar 2011 21:36:51 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:36:51 +0100
changeset 1
4667f24fe848
parent 0
4f133201e207
permissions
-rw-r--r--

Adjust specification build configurations to port packages to MeeGo.

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

mercurial