]> git.pld-linux.org Git - packages/python-vobject.git/blob - python-vobject.spec
45a920f613b083d718d513bb69851b4f01252b13
[packages/python-vobject.git] / python-vobject.spec
1 Summary:        Python module for parsing iCal data
2 Summary(pl.UTF-8):      Moduł języka Python analizujący dane iCal
3 Name:           python-vobject
4 Version:        0.8.1c
5 Release:        5
6 License:        Apache v1.1
7 Group:          Libraries/Python
8 Source0:        http://vobject.skyhouseconsulting.com/vobject-%{version}.tar.gz
9 # Source0-md5:  c9686dd74d39fdae140890d9c694c076
10 URL:            http://vobject.skyhouseconsulting.com/
11 BuildRequires:  python-devel >= 1:2.4
12 BuildRequires:  python-setuptools >= 1:0.6-1.c9
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Vobject is intended to be a full featured Python package for parsing
19 and generating vCard and vCalendar files. It is being developed in
20 concert with the Open Source Application Foundation's Chandler
21 project.
22
23 Currently, iCalendar files are supported and well tested. vCard 3.0
24 files are supported, and all data should be imported, but only a few
25 components are understood in a sophisticated way.
26
27 %description -l pl.UTF-8
28 Vobject w zamierzeniu ma być pakietem do analizy i tworzenia plików
29 vCard oraz vCalendar. Jest zaprojektowany zgodnie z projektem Fundacji
30 Wolnego Oprogramowania o nazwie Chandler.
31
32 Obecnie dobrze przetestowana jest obsługa plików iCalendar. Pliki
33 vCard 3.0 także są obsługiwane i wszystkie dane powinny być
34 importowane, jednakże tylko kilka komponentów jest zrozumiałych w
35 wyrafinowany sposób.
36
37 %prep
38 %setup -q -n vobject-%{version}
39
40 %build
41 %py_build
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %py_install \
47         --install-purelib=%{py_sitedir} \
48         --optimize=2 \
49         --root=$RPM_BUILD_ROOT \
50
51 %py_postclean
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/change_tz
59 %attr(755,root,root) %{_bindir}/ics_diff
60 %dir %{py_sitedir}/vobject
61 %{py_sitedir}/vobject/*.py[co]
62 %if "%{py_ver}" > "2.4"
63 %{py_sitedir}/vobject-*.egg-info
64 %endif
This page took 0.041062 seconds and 2 git commands to generate.