]> git.pld-linux.org Git - packages/libsyncml.git/blame - libsyncml.spec
- BR: cmake, rm BR: libtool, rel. 1
[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
92f77b8d 4Version: 0.4.7
4f83ddc5 5Release: 1
3967d1d1 6License: LGPL
7Group: Libraries
92f77b8d
SS
8Source0: http://libsyncml.opensync.org/download/releases/0.4.7/%{name}-%{version}.tar.bz2
9# Source0-md5: 03f5696b8c55ecdb90da076819b1747f
3967d1d1 10URL: http://libsyncml.opensync.org/
d243a5e7 11BuildRequires: check
4f83ddc5 12BuildRequires: cmake
d243a5e7 13BuildRequires: libsoup-devel
78789674 14BuildRequires: libxml2-devel
15BuildRequires: openobex-devel >= 1.3
92d5f1c1
MWP
16BuildRequires: pkgconfig
17BuildRequires: rpmbuild(macros) >= 1.385
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
3b2e2b43 43install -d build
44cd build
92d5f1c1
MWP
45%cmake \
46 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
47%if "%{_lib}" != "lib"
48 -DLIB_SUFFIX=64 \
49%endif
3b2e2b43 50 ../
d243a5e7 51
3967d1d1 52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
d311b019 57%{__make} -C build install \
3967d1d1 58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
2cafe64c
JB
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
3967d1d1 66%files
67%defattr(644,root,root,755)
78789674 68%doc AUTHORS ChangeLog README
3967d1d1 69%attr(755,root,root) %{_bindir}/syncml*
2cafe64c 70%attr(755,root,root) %{_libdir}/libsyncml.so.*.*.*
78789674 71%attr(755,root,root) %ghost %{_libdir}/libsyncml.so.?
2cafe64c
JB
72
73%files devel
74%defattr(644,root,root,755)
78789674 75%{_libdir}/libsyncml.so
3967d1d1 76%{_includedir}/libsyncml-1.0
2cafe64c 77%{_pkgconfigdir}/libsyncml-1.0.pc
This page took 0.081573 seconds and 4 git commands to generate.