]> git.pld-linux.org Git - SPECS.git/blob - libopensync-plugin-file.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / libopensync-plugin-file.spec
1 Summary:        OpenSync file plugin
2 Summary(pl.UTF-8):      Wtyczka file do OpenSync
3 Name:           libopensync-plugin-file
4 Version:        0.39
5 Release:        1
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://www.opensync.org/download/releases/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  4e4aeb1012b504c005c7f235b1bd0e60
10 URL:            http://www.opensync.org/
11 BuildRequires:  cmake
12 BuildRequires:  fam-devel
13 BuildRequires:  glib2-devel >= 2.0
14 BuildRequires:  libopensync-devel >= 1:%{version}
15 BuildRequires:  libxml2-devel >= 2.0
16 BuildRequires:  pkgconfig
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 OpenSync is a synchronization framework that is platform and
21 distribution independent.
22
23 It consists of several plugins that can be used to connect to devices,
24 a powerful sync-engine and the framework itself.
25
26 This package contains file plugin for OpenSync framework.
27
28 %description -l pl.UTF-8
29 OpenSync to niezależny od platformy i dystrybucji szkielet do
30 synchronizacji danych.
31
32 Składa się z różnych wtyczek, których można używać do łączenia z
33 urządzeniami, potężnego silnika synchronizacji oraz samego szkieletu.
34
35 Ten pakiet zawiera wtyczkę file (do synchronizacji plików) dla
36 szkieletu OpenSync.
37
38 %prep
39 %setup -q
40
41 %build
42 mkdir build
43 cd build
44 %cmake .. \
45         -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
46         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
47 %if "%{_lib}" != "lib"
48         -DLIB_SUFFIX=64
49 %endif
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} -C build install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 rm -f $RPM_BUILD_ROOT%{_libdir}/opensync/plugins/*.la
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS INSTALL
67 %attr(755,root,root) %{_libdir}/libopensync1/plugins/file-sync.so
68 %attr(755,root,root) %{_libdir}/libopensync1/formats/file.so
69 %attr(755,root,root) %{_libdir}/libopensync1/formats/plain.so
70 %{_datadir}/libopensync1/defaults/file-sync
This page took 0.103869 seconds and 3 git commands to generate.