]> git.pld-linux.org Git - packages/libsyncml.git/blame - libsyncml.spec
- up to 0.4.6, NFY
[packages/libsyncml.git] / libsyncml.spec
CommitLineData
2cafe64c 1Summary: Libsyncml - an implementation of the SyncML protocol
26dfe6f0 2Summary(pl.UTF-8): Libsyncml - implementacja protokołu SyncML
3967d1d1 3Name: libsyncml
92d5f1c1
MWP
4Version: 0.4.6
5Release: 0.1
3967d1d1 6License: LGPL
7Group: Libraries
92d5f1c1
MWP
8Source0: http://libsyncml.opensync.org/download/releases/0.4.6/%{name}-%{version}.tar.bz2
9# Source0-md5: d524b18c1eafe5805f83e29c01a91b66
3967d1d1 10URL: http://libsyncml.opensync.org/
d243a5e7
ER
11BuildRequires: check
12BuildRequires: libsoup-devel
13BuildRequires: libxml2-devel
92d5f1c1
MWP
14BuildRequires: libtool
15BuildRequires: pkgconfig
16BuildRequires: rpmbuild(macros) >= 1.385
d243a5e7 17BuildRequires: openobex-devel >= 1.3
fa9d4ecd 18BuildRequires: wbxml2-devel >= 0.9.2
3967d1d1 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
2cafe64c 22Libsyncml is a implementation of the SyncML protocol.
3967d1d1 23
0db46962
JR
24%description -l pl.UTF-8
25Libsyncml jest implementacją protokołu SyncML.
2cafe64c
JB
26
27%package devel
28Summary: Header files for libsyncml library
26dfe6f0 29Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libsyncml
2cafe64c
JB
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description devel
34Header files for libsyncml library.
35
0db46962
JR
36%description devel -l pl.UTF-8
37Pliki nagłówkowe biblioteki libsyncml.
3967d1d1 38
39%prep
40%setup -q
41
42%build
92d5f1c1
MWP
43%cmake \
44 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
45%if "%{_lib}" != "lib"
46 -DLIB_SUFFIX=64 \
47%endif
48 .
d243a5e7 49
3967d1d1 50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
2cafe64c
JB
61%post -p /sbin/ldconfig
62%postun -p /sbin/ldconfig
63
3967d1d1 64%files
65%defattr(644,root,root,755)
66%doc AUTHORS ChangeLog NEWS README
67%attr(755,root,root) %{_bindir}/syncml*
2cafe64c 68%attr(755,root,root) %{_libdir}/libsyncml.so.*.*.*
e6bfcbf2
ER
69%{_mandir}/man1/syncml-http-server.1*
70%{_mandir}/man1/syncml-obex-client.1*
2cafe64c
JB
71
72%files devel
73%defattr(644,root,root,755)
dd32871f 74%attr(755,root,root) %{_libdir}/libsyncml.so
2cafe64c 75%{_libdir}/libsyncml.la
3967d1d1 76%{_includedir}/libsyncml-1.0
2cafe64c 77%{_pkgconfigdir}/libsyncml-1.0.pc
This page took 0.065804 seconds and 4 git commands to generate.