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