source: projects/specs/branches/6/p/pyxf86config/pyxf86config-vl.spec @ 4020

Revision 4020, 5.2 KB checked in by daisuke, 13 years ago (diff)

pyxf86config: add patch4 to specify xorg.conf on readConfigFile() to avoid invalid escape warning.

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