source: projects/specs/trunk/p/pyxf86config/pyxf86config-vl.spec @ 3971

Revision 3971, 5.0 KB checked in by daisuke, 13 years ago (diff)

pyxf86config:

  • build for Vine Linux 6
  • add patch0-2 from fedora
  • add patch3 to build with current xorg
Line 
1Summary: Python wrappers for libxf86config
2Summary(ja): libxf86config の Python ラッパー
3Name: pyxf86config
4Version: 0.3.37
5Release: 3%{?_dist_release}
6
7URL: http://fedoraproject.org/wiki/pyxf86config
8License: GPLv2
9Group: System Environment/Libraries
10
11Source0: %{name}-%{version}.tar.bz2
12Patch0: 0001-libxf86config.a-gained-dependency-on-xstrtokenize-pu.patch
13Patch1: 0002-Provide-xf86CheckBoolOption.patch
14Patch2: 0003-Initialize-configuration-file-parser-before-use.patch
15Patch3: %{name}-0.3.37-xorg-x11-7.5.patch
16
17BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18Requires: glib2
19BuildRequires: glib2-devel
20BuildRequires: libX11-devel
21BuildRequires: python-devel
22BuildRequires: libxf86config-devel
23ExcludeArch: s390 s390x ppc64
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: daisuke
28
29%description
30Python wrappers for the X server config file library libxf86config.
31It is used to read and write X server configuration files.
32
33%prep
34%setup -q
35%patch0 -p1
36%patch1 -p1
37%patch2 -p1
38%patch3 -p1
39
40%build
41export CFLAGS="$RPM_OPT_FLAGS -fPIC"
42%configure --x-libraries=%{_libdir} --with-python-version=%{pyver}
43%__make %{?_smp_mflags}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%__make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(-,root,root)
54%doc README NEWS AUTHORS COPYING ChangeLog
55%{python_sitearch}/ixf86configmodule.so
56%{python_sitearch}/xf86config.py
57
58%changelog
59* Sat May 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-3
60- rebuild for Vine 6
61- import patch0-2 from fedora
62- add patch3 to build with new xorg-x11 (adhoc patch)
63
64* Mon Feb 08 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-2
65- rebuild with python-2.6
66
67* Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.37-1
68- new upstream release
69- build with xorg-x11-7.3
70
71* Tue Aug 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.4-1
72- initial build for Vine Linux
73
74* Mon Oct 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.4-0vl1
75- remove unneeded screen resolution from XF86SupportedResolutions
76
77* Mon Sep 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.3-0vl1
78- add v4l module, remove fbdevhw from xorg.conf
79
80* Tue Aug 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.2-0vl1
81- add more resolutions
82
83* Tue Aug 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19.1-0vl1
84- update default xorg.conf
85
86* Sun Aug 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.19-0vl1
87- initial build for Vine Linux
88
89* Wed Aug 11 2004 Jeremy Katz <katzj@redhat.com> - 0.3.19-1
90- Change keyboard driver to kbd
91
92* Thu Apr 15 2004 Mike A. Harris <mharris@redhat.com> - 0.3.18-1
93- Do not write out XkbRules line to config file, as it is unnecessary hard
94  coding the rules file, which has a built in default which should always
95  work. (#120858)
96
97* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 0.3.17-1
98- xorg for XkbRules
99
100* Wed Apr 14 2004 Alex Larsson <alexl@redhat.com> 0.3.16
101- Rebuild for the new libxf86config
102- remove references to XFree86
103
104* Thu Feb 19 2004 Brent Fox <bfox@redhat.com> 0.3.15-1
105- remove the setupMice() function createTemplate()
106- because the 2.6 kernel puts both PS/2 and USB mice on the same device
107
108* Mon Feb  9 2004 Alexander Larsson <alexl@redhat.com> 0.3.14-1
109- fix range array bug
110
111* Thu Nov  6 2003 Jeremy Katz <katzj@redhat.com> 0.3.13-2
112- rebuild for python 2.3
113- don't build on ppc64 either since X is missing bits there as well
114
115* Tue Jul 29 2003 Elliot Lee <sopwith@redhat.com> 0.3.13-1
116- Rebuild
117
118* Wed Jun  4 2003 Brent Fox <bfox@redhat.com> 0.3.12-1
119- add a 'scrnum' attribute to the adjacency section
120
121* Tue Jun  3 2003 Brent Fox <bfox@redhat.com> 0.3.11-1
122- add a function to xf86config.py called getAllScreens()
123
124* Tue Jun  3 2003 Brent Fox <bfox@redhat.com> 0.3.10-1
125- add a BuildRequires for python-devel
126- add an options attribute to the server layout section (for Xinerama)
127
128* Tue Apr 29 2003 Alexander Larsson <alexl@redhat.com> 0.3.6-1
129- Added laptop resolutions
130
131* Mon Jan 27 2003 Alexander Larsson <alexl@redhat.com> 0.3.5-1
132- Rebuild
133
134* Wed Jan 15 2003 Michael Fulbright <msf@redhat.com> 0.3.4-1
135- remove code in xf86config.py:createTemplate() that inserted a Display
136  section.  We want user to supply this and it shouldnt be in template.
137
138* Sat Jan 11 2003 Florian La Roche <Florian.LaRoche@redhat.de>
139- add ExcludeArch: s390 s390x
140
141* Thu Dec 12 2002 Mike A. Harris <mharris@redhat.com> 0.3.3-1
142- Remove Excludearch alpha
143
144* Tue Nov 12 2002 Michael Fulbright <msf@redhat.com> 0.3.2-1
145- Added some convenience functions.
146
147* Mon Jul  8 2002 Alexander Larsson <alexl@redhat.com>
148- Bump to 0.3.1
149
150* Mon Jun 17 2002 Alexander Larsson <alexl@redhat.com>
151- Bump to 0.3.0
152
153* Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-3
154- Excludearch alpha for now
155
156* Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-2
157- Add some doc files
158
159* Fri May 24 2002 Alex Larsson <alexl@redhat.com> 0.2.0-1
160- Update version number for new release
161
162* Thu Apr 11 2002 Alex Larsson <alexl@redhat.com> 0.1.0-1
163- Initial release
164
165* Wed Apr 10 2002 Alex Larsson <alexl@redhat.com>
166- Initial specfile
Note: See TracBrowser for help on using the repository browser.