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