]> git.pld-linux.org Git - packages/vdirsyncer.git/blob - vdirsyncer.spec
8af8e00bf4a24acb9dd4cb072b35402db10bff48
[packages/vdirsyncer.git] / vdirsyncer.spec
1 Summary:        Synchronize calendars and contacts
2 Name:           vdirsyncer
3 Version:        0.19.1
4 Release:        1
5 License:        BSD
6 Group:          Applications/System
7 Source0:        https://github.com/pimutils/vdirsyncer/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  c0f923b6905593a7430e7f0996acb6be
9 URL:            https://vdirsyncer.pimutils.org/
10 BuildRequires:  python3
11 BuildRequires:  python3-modules
12 BuildRequires:  python3-setuptools_scm
13 BuildRequires:  rpm-pythonprov
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Vdirsyncer is a command-line tool for synchronizing calendars and
19 addressbooks between a variety of servers and the local filesystem.
20 The most popular usecase is to synchronize a server with a local
21 folder and use a set of other programs to change the local events and
22 contacts. Vdirsyncer can then synchronize those changes back to the
23 server.
24
25 However, vdirsyncer is not limited to synchronizing between clients
26 and servers. It can also be used to synchronize calendars and/or
27 addressbooks between two servers directly.
28
29 %prep
30 %setup -q
31
32 %build
33 export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
34 %py3_build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
40 %py3_install
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst LICENSE README.rst config.example
48 %attr(755,root,root) %{_bindir}/%{name}
49 %{py3_sitescriptdir}/%{name}
50 %{py3_sitescriptdir}/%{name}-%{version}-py3*.egg-info
This page took 0.062272 seconds and 2 git commands to generate.