1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
2 |
|
3 |
Name: python-vobject |
4 |
Version: 0.8.1c |
5 |
Release: 2%{?dist} |
6 |
Summary: A python library for manipulating vCard and vCalendar files |
7 |
|
8 |
Group: Development/Languages |
9 |
License: ASL 2.0 |
10 |
URL: http://vobject.skyhouseconsulting.com/ |
11 |
Source0: http://vobject.skyhouseconsulting.com/vobject-%{version}.tar.gz |
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
13 |
|
14 |
BuildArch: noarch |
15 |
BuildRequires: python-devel |
16 |
BuildRequires: python-setuptools |
17 |
Requires: python-dateutil |
18 |
|
19 |
Patch1: no-ez-setup.patch |
20 |
|
21 |
%description |
22 |
VObject is intended to be a full featured python library for parsing and |
23 |
generating vCard and vCalendar files. |
24 |
|
25 |
|
26 |
%prep |
27 |
%setup -q -n vobject-%{version} |
28 |
%patch1 -p1 |
29 |
|
30 |
|
31 |
%build |
32 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build |
33 |
|
34 |
|
35 |
%install |
36 |
rm -rf $RPM_BUILD_ROOT |
37 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
38 |
|
39 |
|
40 |
%clean |
41 |
rm -rf $RPM_BUILD_ROOT |
42 |
|
43 |
|
44 |
%files |
45 |
%defattr(-,root,root,-) |
46 |
%doc ACKNOWLEDGEMENTS.txt LICENSE-2.0.txt README.txt |
47 |
|
48 |
%{python_sitelib}/* |
49 |
|
50 |
%{_bindir}/change_tz |
51 |
%{_bindir}/ics_diff |
52 |
|
53 |
|
54 |
%changelog |
55 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-2 |
56 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
57 |
|
58 |
* Fri Apr 03 2009 James Bowes <jbowes@redhat.com> - 0.8.1c-1 |
59 |
- Update to 0.8.1c |
60 |
|
61 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1b-2 |
62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
63 |
|
64 |
* Sun Feb 08 2009 James Bowes <jbowes@redhat.com> - 0.8.1b-1 |
65 |
- Update to 0.8.1b |
66 |
|
67 |
* Mon Jan 05 2009 James Bowes <jbowes@redhat.com> - 0.8.0-1 |
68 |
- Update to 0.8.0 |
69 |
|
70 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.1-3 |
71 |
- Rebuild for Python 2.6 |
72 |
|
73 |
* Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-2 |
74 |
- Add change_tz executable |
75 |
|
76 |
* Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-1 |
77 |
- Update to 0.7.1 |
78 |
|
79 |
* Thu Jul 24 2008 James Bowes <jbowes@redhat.com> - 0.7.0-1 |
80 |
- Update to 0.7.0 |
81 |
|
82 |
* Wed Jun 11 2008 James Bowes <jbowes@redhat.com> - 0.6.6-1 |
83 |
- Update to 0.6.6 |
84 |
|
85 |
* Fri May 30 2008 James Bowes <jbowes@redhat.com> - 0.6.5-1 |
86 |
- Update to 0.6.5 |
87 |
|
88 |
* Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-2 |
89 |
- Remove use of ez_setup; we already have setuptools. |
90 |
|
91 |
* Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-1 |
92 |
- Update to 0.6.0 |
93 |
|
94 |
* Thu Jan 17 2008 James Bowes <jbowes@redhat.com> - 0.5.0-1 |
95 |
- Update to 0.5.0 |
96 |
|
97 |
* Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.4.9-2 |
98 |
- Use new egg-info guidlines for F9 |
99 |
|
100 |
* Sun Dec 02 2007 James Bowes <jbowes@redhat.com> - 0.4.9-1 |
101 |
- Update to 0.4.9 |
102 |
|
103 |
* Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.4.8-1 |
104 |
- Update to 0.4.8 |
105 |
|
106 |
* Sat Dec 09 2006 James Bowes <jbowes@redhat.com> - 0.4.4-2 |
107 |
- Add BR: python-devel |
108 |
|
109 |
* Sun Nov 26 2006 James Bowes <jbowes@redhat.com> - 0.4.4-1 |
110 |
- New version released. |
111 |
|
112 |
* Sat Oct 07 2006 James Bowes <jbowes@redhat.com> - 0.4.3-1 |
113 |
- New version released. |
114 |
|
115 |
* Sun Sep 10 2006 James Bowes <jbowes@redhat.com> 0.4.1-2 |
116 |
- Stop ghosting pyo files. |
117 |
|
118 |
* Sat Aug 12 2006 James Bowes <jbowes@redhat.com> 0.4.1-1 |
119 |
- New version released. |
120 |
- Handle egg info. |
121 |
|
122 |
* Thu Jun 29 2006 James Bowes <jbowes@redhat.com> 0.3.0-1 |
123 |
- Initial packaging. |