source: projects/specs/trunk/p/python-egenix-mx-base/python-egenix-mx-base-vl.spec @ 8158

Revision 8158, 3.2 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1%define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
2%define mxlibname egenix-mx-base
3
4Summary: eGenix mx-Extensions for Python - BASE package
5Summary(ja): eGenix 配布 Python DateTime ライブラリ
6Name: python-%{mxlibname}
7Version: 3.1.0
8Release: 5%{?_dist_release}
9License: eGenix.com Public License (similar to the Python 2.0)
10Group: Development/Libraries
11URL: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
12Source: http://www.egenix.com/files/python/%{mxlibname}-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{mxlibname}-%{version}-root
14Buildrequires: python-devel
15Requires: python >= 2.4
16Provides: mxDateTime
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22The eGenix mx Extension Series are a collection of
23Python extensions written in ANSI C and Python
24which provide a large spectrum of useful additions
25to everyday Python programming.
26
27The BASE package includes the Open Source subpackages
28of the series and is needed by all other add-on
29packages of the series.
30
31This software is brought to you by eGenix.com and
32distributed under the eGenix.com Public License.
33
34
35%prep
36%setup -q -n %{mxlibname}-%{version}
37
38%build
39CFLAGS="$RPM_OPT_FLAGS" python setup.py build
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44python setup.py install \
45        --root=$RPM_BUILD_ROOT \
46        --install-purelib=%{python_platlib} \
47        --install-platlib=%{python_platlib} \
48        # disabled below, because '*.h' files have been copied to data's directory
49        #--install-data=%{_sharedstatedir}/doc/%{name}-%{version}
50
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55
56%files
57%defattr(-,root,root)
58%doc mx/Doc mx/LICENSE mx/COPYRIGHT mx/DateTime/README
59%{python_platlib}
60
61%changelog
62* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-5
63- rebuild with VineSeed environment
64
65* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-4
66- rebuild with python-2.7.2
67
68* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.1.0-3
69- rebuild with python-2.6
70
71* Thu Jul 17 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.0-2vl5
72- rebuilt with python-2.5.2
73
74* Thu Jul 17 2008 Shu KONNO <owa@bg.wakwak.com> 3.1.0-1vl5
75- updated egenix-mx-base to 3.1.0
76- applied new versioning policy and spec in utf-8
77- added python_platlib macro
78
79* Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 3.0.0-0vl2
80- updated egenix-mx-base to 3.0.0
81- dropt Patch0: egenix-mx-base-2.0.6-mxSetup_x86_64.patch
82- fixed prereq, buildrequires pkgs
83
84* Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl4
85- fixed %%install directory
86
87* Sat Oct 14 2006 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl3
88- changed url
89- added egenix-mx-base-2.0.6-mxSetup_x86_64.patch
90- changed options in %%install
91
92* Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl2
93- rebuilded with python-2.4.1
94
95* Sun Mar 20 2005 Shu KONNO <owa@bg.wakwak.com> 2.0.6-0vl1
96- updated egenix-mx-base to 2.0.6
97- rebuild with python-2.3.5 for Vine
98
99* Sun Feb 22 2004 Shu KONNO <owa@bg.wakwak.com> 2.0.5-uvl1
100- rebuilded with python-2.3
101
102* Sun Aug 31 2003 Shu KONNO <owa@bg.wakwak.com> 2.0.5-py2.1_uvl1
103- updated egenix-mx-base to 2.0.5
104
105* Wed Mar 5 2003 Shu KONNO <owa@bg.wakwak.com> 2.0.4-py2.1_0vp1
106- updated egenix-mx-base to 2.0.4
107- rebuilded with python-2.1
108
109* Mon Jul 1 2002 Shu KONNO <owa@bg.wakwak.com> 2.0.3-0vp1
110- created
111
Note: See TracBrowser for help on using the repository browser.