]> git.pld-linux.org Git - SPECS.git/blob - synce-hal.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / synce-hal.spec
1 # NOTE: obsoleted in favour of udev functionality in synce-core.spec
2 # TODO:
3 #       package bluetooth stuff
4 Summary:        Synce-hal - connection framework and DCCM implementation for Windows Mobile devices
5 Summary(pl.UTF-8):      Synce-hal - szkielet połączeń i implementacja DCCM dla urządzeń Windows Mobile
6 Name:           synce-hal
7 Version:        0.15
8 Release:        2
9 License:        GPL v2
10 Group:          Applications/System
11 Source0:        http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
12 # Source0-md5:  796eca27a2ce561247e7a71375c242b6
13 URL:            http://www.synce.org/
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake >= 1.4
16 BuildRequires:  dbus-devel >= 0.60
17 BuildRequires:  dbus-glib-devel >= 0.74
18 BuildRequires:  glib2-devel >= 1:2.7
19 BuildRequires:  gnet-devel >= 2.0
20 BuildRequires:  hal-devel
21 BuildRequires:  libtool
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpm-pythonprov
24 BuildRequires:  rpmbuild(macros) >= 1.213
25 BuildRequires:  synce-libsynce-devel >= 0.12
26 Requires:       dbus >= 0.60
27 Requires:       dbus-glib >= 0.74
28 Requires:       glib2 >= 1:2.7
29 Obsoletes:      synce-odccm < %{version}-%{release}
30 Obsoletes:      synce-serial < %{version}-%{release}
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         haldir  %{_libdir}/hal
34
35 %description
36 Synce-hal is a connection framework and dccm-implementation for
37 Windows Mobile devices that integrates with HAL.
38
39 %description -l pl.UTF-8
40 Synce-hal to szkielet połączeń i implementacja DCCM dla urządzeń
41 Windows Mobile; integruje się z HAL.
42
43 %prep
44 %setup -q
45
46 %build
47 %{__libtoolize}
48 %{__aclocal} -I m4
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure \
53         --with-hal-addon-dir=%{haldir}/scripts
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         haldir=%{haldir}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post
68 %service -q haldaemon restart
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog README TODO
73 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.Hal.Device.Synce.conf
74 %attr(755,root,root) %{_bindir}/synce-unlock.py
75 %attr(755,root,root) %{_libdir}/hal-dccm
76 %attr(755,root,root) %{_libdir}/synce-serial-chat
77 %{_datadir}/hal/fdi/policy/20thirdparty/10-synce.fdi
78 %dir %{_datadir}/synce-hal
79 %{_datadir}/synce-hal/dhclient.conf
80 %attr(755,root,root) %{haldir}/hal-synce-rndis
81 %attr(755,root,root) %{haldir}/hal-synce-serial
This page took 0.306203 seconds and 3 git commands to generate.