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