anyremote/anyremote.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
equal deleted inserted replaced
0:6ca499dd1fe7 1:eff57272d47e
1 Summary: Remote control through bluetooth or IR connection 1 Summary: Remote control over bluetooth, ethernet, or infrared
2 Name: anyremote 2 Vendor: Europalab Software
3 Version: 5.3 3 Packager: Michael Schloh von Bennewitz
4 Release: 1%{?dist} 4 Distribution: MeeGo Thirdparty
5 License: GPLv2+ 5 Name: anyremote
6 Group: Applications/System 6 Version: 5.3
7 Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz 7 Release: 20101201
8 URL: http://anyremote.sourceforge.net/ 8 License: GPLv2+
9 Requires: bc,dbus-glib,anyremote-data >= 5.3 9 Group: Applications/System
10 BuildRequires:bluez-libs-devel >= 4.64, libX11-devel, libXtst-devel, xorg-x11-proto-devel, glib2-devel >= 2.24.1, dbus-devel >= 1.2.24, dbus-glib-devel >= 0.86 10 Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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
12 21
13 %description 22 %description
14 The overall goal of this project is to provide remote control service on Linux 23 The goal of anyRemote is to provide remote control service on
15 through Bluetooth, InfraRed, Wi-Fi or TCP/IP connection. 24 GNU/Linux through Bluetooth, InfraRed, Wi-Fi, or TCP/IP connections.
16 anyRemote supports wide range of modern cell phones like Nokia, SonyEricsson, 25 The anyRemote service supports a wide range of modern cell phones
17 Motorola and others. 26 like Nokia, SonyEricsson, Motorola and others.
18 27
19 %prep 28 %prep
20 %setup -q 29 %setup -q
30 #%{__sed} -i \
31 # -e 's;\(for ac_header in\) \(X11/extensions/XTest.h\);\1 /usr/include/\2;' \
32 # configure
21 33
22 %build 34 %build
23 %configure 35 %configure
24 make %{?_smp_mflags} 36 make %{?_smp_mflags}
25 37
26 %install 38 %install
27 rm -rf $RPM_BUILD_ROOT 39 rm -rf $RPM_BUILD_ROOT
28 make install DESTDIR=$RPM_BUILD_ROOT 40 make install DESTDIR=$RPM_BUILD_ROOT
29 41
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}
47
30 %clean 48 %clean
31 rm -rf $RPM_BUILD_ROOT 49 rm -rf $RPM_BUILD_ROOT
32 50
33 %files 51 %post
52 /sbin/chkconfig --add anyremote
53
54 %postun
55 /sbin/service anyremote condrestart >/dev/null 2>&1 || :
56
57 %preun
58 if [ "$1" = 0 ]; then
59 /sbin/service anyremote stop >/dev/null 2>&1 || :
60 /sbin/chkconfig --del anyremote
61 fi
62
63 %files
34 %defattr(-,root,root,-) 64 %defattr(-,root,root,-)
35 %{_bindir}/%{name} 65 %{_bindir}/%{name}
36 %{_mandir}/man1/%{name}.1.gz 66 %{_mandir}/man1/%{name}.1.gz
37 67 %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
38 %package data 68 %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/%{name}
39 Summary: Configuration files for anyRemote 69
40 Group: Applications/System 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
41 76
42 %description data 77 %description data
43 Configuration files for anyRemote 78 Configuration files for the anyRemote service.
44 79
45 %files data 80 %files data
46 %defattr(-,root,root,-) 81 %defattr(-,root,root,-)
47 %{_datadir}/%{name} 82 %{_datadir}/%{name}
48 83
49 %package doc 84 %package doc
50 Summary: Documentation for anyRemote 85 Summary: Documentation for anyRemote
51 Group: Applications/System 86 Vendor: Europalab Software
87 Packager: Michael Schloh von Bennewitz
88 Distribution: MeeGo Thirdparty
89 Group: Applications/System
52 90
53 %description doc 91 %description doc
54 Documentation for anyRemote 92 Documentation files for the anyRemote service.
55 93
56 %files doc 94 %files doc
57 %defattr(-,root,root,-) 95 %defattr(-,root,root,-)
58 %doc %{_defaultdocdir}/%{name} 96 %doc %{_defaultdocdir}/%{name}
59 97
60
61 %changelog 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
62 101
63 * Tue Oct 19 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.3 102 * Tue Oct 19 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.3
64 - Support volume control through PulseAudio. Added configuration files for Miro player, 103 - Support volume control through PulseAudio. Added configuration files for Miro player,
65 MPRIS-compatible players. Some fixes in configuration files. 104 MPRIS-compatible players. Some fixes in configuration files.
66 105
68 - Enhanced support for Get(password) command. Properly handle ampersand in file 107 - Enhanced support for Get(password) command. Properly handle ampersand in file
69 names. 108 names.
70 109
71 * Thu Jul 8 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.3 110 * Thu Jul 8 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.3
72 - Some configuration files and documentation were corrected. 111 - Some configuration files and documentation were corrected.
73 Added configuration file for QMMP. 112 Added configuration file for QMMP.
74 113
75 * Sat Mar 13 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.2 114 * Sat Mar 13 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.2
76 - Some configuration files and documentation were corrected. 115 - Some configuration files and documentation were corrected.
77 116
78 * Wed Feb 03 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.1 117 * Wed Feb 03 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1.1
79 - Fixed Red Hat bugzilla bug 560182. Some configuration files and documentation 118 - Fixed Red Hat bugzilla bug 560182. Some configuration files and documentation
80 were corrected. 119 were corrected.
81 120
82 * Mon Jan 04 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1 121 * Mon Jan 04 2010 Mikhail Fedotov <anyremote at mail.ru> - 5.1
83 - Better support of Command Fusion's iViewer, tested on iPod Touch. 122 - Better support of Command Fusion's iViewer, tested on iPod Touch.
84 Exclude keyjnote, kpdf, kuickshow, kview, noatun and KDE3-related 123 Exclude keyjnote, kpdf, kuickshow, kview, noatun and KDE3-related
85 configuration files from the release. Added configuration file for Dragon player. 124 configuration files from the release. Added configuration file for Dragon player.
86 Add KDE4 support in Kaffeine configuration file. 125 Add KDE4 support in Kaffeine configuration file.
87 126
88 * Mon Sep 14 2009 Mikhail Fedotov <anyremote at mail.ru> - 5.0 127 * Mon Sep 14 2009 Mikhail Fedotov <anyremote at mail.ru> - 5.0
89 - anyRemote was rewritten using multithreading and GLib. 128 - anyRemote was rewritten using multithreading and GLib.
108 * Fri Jan 16 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.15-1 147 * Fri Jan 16 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.15-1
109 - Fixed crash issue in case of anyremote was runned without X. 148 - Fixed crash issue in case of anyremote was runned without X.
110 Fix hang in Load() command in case of empty file. 149 Fix hang in Load() command in case of empty file.
111 150
112 * Sat Jan 10 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.14-1 151 * Sat Jan 10 2009 Mikhail Fedotov <anyremote at mail.ru> - 4.14-1
113 - Small corrections in configuration files. Configuration files for AlsaPlayer, 152 - Small corrections in configuration files. Configuration files for AlsaPlayer,
114 Digikam (thanks to Marcus Hardt) and GPicView were added. 153 Digikam (thanks to Marcus Hardt) and GPicView were added.
115 Syntax of Emulate() command was extended. 154 Syntax of Emulate() command was extended.
116 155
117 * Sat Dec 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.13-1 156 * Sat Dec 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.13-1
118 - Small corrections in configuration files. Configuration file for WmCtrl and 157 - Small corrections in configuration files. Configuration file for WmCtrl and
119 Juk/KDE4 were added. 158 Juk/KDE4 were added.
120 159
121 * Thu Nov 13 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.12-1 160 * Thu Nov 13 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.12-1
122 - Added configuration file for XBMC (thanks to Everthon Valadao), Okular 161 - Added configuration file for XBMC (thanks to Everthon Valadao), Okular
123 Gwenview/KDE4 and Amarok2/KDE4. Support nonn-UTF8 encodings in 162 Gwenview/KDE4 and Amarok2/KDE4. Support nonn-UTF8 encodings in
124 configurational files. Intergrated FreeBSD patch by Alex Samorukov. 163 configurational files. Intergrated FreeBSD patch by Alex Samorukov.
125 164
126 * Mon Oct 20 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.11-1 165 * Mon Oct 20 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.11-1
127 - Fixed issues with non-correct handling of files and directories names with 166 - Fixed issues with non-correct handling of files and directories names with
128 braces and brackets in some configuration files. 167 braces and brackets in some configuration files.
129 Several small changes in code. 168 Several small changes in code.
130 169
131 * Mon Oct 6 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.10-1 170 * Mon Oct 6 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.10-1
132 - Fixed issue with non-correct handling of files and directories names with 171 - Fixed issue with non-correct handling of files and directories names with
133 braces and brackets in some configuration files. A lot of changes in 172 braces and brackets in some configuration files. A lot of changes in
134 documentation. Several small changes in code. 173 documentation. Several small changes in code.
135 174
136 * Mon Sep 29 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.9-1 175 * Mon Sep 29 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.9-1
137 - Get(version) command was introduced. Added possibility to create 176 - Get(version) command was introduced. Added possibility to create
138 user-specific phone initialization. 177 user-specific phone initialization.
139 178
140 * Tue Sep 9 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.8.1-1 179 * Tue Sep 9 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.8.1-1
141 - Small corrections. 180 - Small corrections.
142 181
152 191
153 * Fri May 30 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.6-1 192 * Fri May 30 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.6-1
154 - Small enhancements 193 - Small enhancements
155 194
156 * Sun May 18 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.5-1 195 * Sun May 18 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.5-1
157 - Better integration with anyremote2http: -http command line 196 - Better integration with anyremote2http: -http command line
158 parameter was added. 197 parameter was added.
159 198
160 * Tue Mar 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.4-1.fc8 199 * Tue Mar 07 2008 Mikhail Fedotov <anyremote at mail.ru> - 4.4-1.fc8
161 - Spec file correction. Some minor enhancemens. 200 - Spec file correction. Some minor enhancemens.
162 201

mercurial