]> git.pld-linux.org Git - packages/libsyncml.git/blame - libsyncml.spec
- up to 0.5.4
[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
77153466 4Version: 0.5.4
2e989d11 5Release: 1
c3708c6c 6License: LGPL 2.1+
3967d1d1 7Group: Libraries
77153466
ER
8Source0: https://downloads.sourceforge.net/project/libsyncml/libsyncml/%{version}/%{name}-%{version}.tar.bz2
9# Source0-md5: b8ce1f222cccc12acdcd6807d65c1aea
3967d1d1 10URL: http://libsyncml.opensync.org/
c3708c6c 11BuildRequires: bluez-libs-devel
d243a5e7 12BuildRequires: check
4f83ddc5 13BuildRequires: cmake
c3708c6c
ER
14BuildRequires: glib2-devel >= 1:2.12
15BuildRequires: libsoup-devel >= 2.2.91
a6d0d331 16BuildRequires: libwbxml-devel >= 0.10.0
78789674 17BuildRequires: libxml2-devel
18BuildRequires: openobex-devel >= 1.3
92d5f1c1
MWP
19BuildRequires: pkgconfig
20BuildRequires: rpmbuild(macros) >= 1.385
a6d0d331
ER
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
3967d1d1 23%description
2cafe64c 24Libsyncml is a implementation of the SyncML protocol.
3967d1d1 25
0db46962
JR
26%description -l pl.UTF-8
27Libsyncml jest implementacją protokołu SyncML.
2cafe64c
JB
28
29%package devel
30Summary: Header files for libsyncml library
26dfe6f0 31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libsyncml
2cafe64c
JB
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for libsyncml library.
37
0db46962
JR
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki libsyncml.
3967d1d1 40
41%prep
42%setup -q
43
44%build
3b2e2b43 45install -d build
46cd build
77153466
ER
47%cmake .. \
48 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
92d5f1c1 49 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
77153466
ER
50%if "%{_lib}" == "lib64"
51 -DLIB_SUFFIX=64
92d5f1c1 52%endif
d243a5e7 53
3967d1d1 54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
d311b019 59%{__make} -C build install \
3967d1d1 60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
2cafe64c
JB
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
3967d1d1 68%files
69%defattr(644,root,root,755)
78789674 70%doc AUTHORS ChangeLog README
3967d1d1 71%attr(755,root,root) %{_bindir}/syncml*
2cafe64c 72%attr(755,root,root) %{_libdir}/libsyncml.so.*.*.*
77153466 73%attr(755,root,root) %ghost %{_libdir}/libsyncml.so.2
2cafe64c
JB
74
75%files devel
76%defattr(644,root,root,755)
78789674 77%{_libdir}/libsyncml.so
3967d1d1 78%{_includedir}/libsyncml-1.0
2cafe64c 79%{_pkgconfigdir}/libsyncml-1.0.pc
This page took 0.069121 seconds and 4 git commands to generate.