]>
Commit | Line | Data |
---|---|---|
1 | Summary: Libsyncml - an implementation of the SyncML protocol | |
2 | Summary(pl.UTF-8): Libsyncml - implementacja protokołu SyncML | |
3 | Name: libsyncml | |
4 | Version: 0.4.4 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Libraries | |
8 | Source0: http://libsyncml.opensync.org/attachment/wiki/download/%{name}-%{version}.tar.bz2?format=raw | |
9 | # Source0-md5: 192f42dc0a17e43edf5f893f1ca7fa5b | |
10 | URL: http://libsyncml.opensync.org/ | |
11 | BuildRequires: check | |
12 | BuildRequires: libsoup-devel | |
13 | BuildRequires: libxml2-devel | |
14 | BuildRequires: openobex-devel >= 1.3 | |
15 | BuildRequires: wbxml2-devel >= 0.9.2 | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | Libsyncml is a implementation of the SyncML protocol. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | Libsyncml jest implementacją protokołu SyncML. | |
23 | ||
24 | %package devel | |
25 | Summary: Header files for libsyncml library | |
26 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libsyncml | |
27 | Group: Development/Libraries | |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | Header files for libsyncml library. | |
32 | ||
33 | %description devel -l pl.UTF-8 | |
34 | Pliki nagłówkowe biblioteki libsyncml. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %configure \ | |
41 | --enable-http \ | |
42 | --enable-obex \ | |
43 | --enable-bluetooth \ | |
44 | --enable-tools \ | |
45 | --enable-unit-tests \ | |
46 | --enable-tracing \ | |
47 | ||
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc AUTHORS ChangeLog NEWS README | |
65 | %attr(755,root,root) %{_bindir}/syncml* | |
66 | %attr(755,root,root) %{_libdir}/libsyncml.so.*.*.* | |
67 | %{_mandir}/man1/syncml-http-server.1* | |
68 | %{_mandir}/man1/syncml-obex-client.1* | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_libdir}/libsyncml.so | |
73 | %{_libdir}/libsyncml.la | |
74 | %{_includedir}/libsyncml-1.0 | |
75 | %{_pkgconfigdir}/libsyncml-1.0.pc |