Logoj0ke.net Open Build Service > Projects > hardware:dell > python-ctypes-suse > Changes
Sign Up | Log In

Problem getting expanded diff: bad link: devel:languages:python/python-ctypes: project 'devel:languages:python' does not exist

Changes of Revision 2

[-] Added python-ctypes.changes
x
 
1
@@ -0,0 +1,11 @@
2
+-------------------------------------------------------------------
3
+Fri Jan 15 08:03:45 UTC 2010 - andrea@opensuse.org
4
+
5
+- fixed spec file 
6
+- new upstream version 1.0.2
7
+
8
+-------------------------------------------------------------------
9
+Wed Jun 18 01:56:39 CEST 2008 - poeml@suse.de
10
+
11
+- initial package (1.0.0)
12
+
13
[-] Added python-ctypes.spec ^
52
 
1
@@ -0,0 +1,50 @@
2
+#
3
+# spec file for package python-ctypes
4
+#
5
+# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+
14
+%define modname ctypes
15
+Name:           python-%{modname}
16
+BuildRequires:  python-devel
17
+Url:            http://pypi.python.org/pypi/%{modname}/
18
+License:        MIT
19
+Group:          Productivity/System
20
+Autoreqprov:    on
21
+Version:        1.0.2
22
+Release:        0
23
+Summary:        Create and manipulate C data types from Python
24
+Source0:         ctypes-%{version}.tar.bz2
25
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
26
+%{py_requires}
27
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
28
+
29
+%description
30
+python-ctypes is a python module to create and manipulate C data types in
31
+Python, and to call functions in dynamic link libraries/shared dlls.
32
+It allows wrapping these libraries in pure Python.
33
+
34
+%prep
35
+%setup -n %{modname}-%{version}
36
+
37
+%build
38
+export CFLAGS="$RPM_OPT_FLAGS" 
39
+python setup.py build
40
+
41
+%install
42
+python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
43
+
44
+%clean
45
+rm -rf $RPM_BUILD_ROOT
46
+
47
+%files -f INSTALLED_FILES
48
+%defattr(-,root,root)
49
+%doc ACKS ANNOUNCE BUGS ChangeLog LICENSE.txt README.*
50
+
51
+%changelog -n python-%{modname}
52
Added ctypes-1.0.2.tar.bz2 ^