source: projects/specs/trunk/lib/libX/libXrandr/libXrandr-vl.spec @ 2203

Revision 2203, 6.8 KB checked in by Takemikaduchi, 14 years ago (diff)

update Xorg libraries and xserver, and rebuild driver

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXrandr runtime library
4Summary(ja): X.Org X11 libXrandr ランタイムライブラリ
5Name: libXrandr
6Version: 1.3.1
7Release: 1%{?_dist_release}
8License: MIT/X11
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel >= 7.4-5
17BuildRequires: libX11-devel
18BuildRequires: libXext-devel
19BuildRequires: libXrender-devel
20Obsoletes: XFree86-libs, XOrg-libs
21
22%description
23X.Org X11 libXrandr runtime library
24
25%package devel
26Summary: X.Org X11 libXrandr development package
27Summary(ja): X.Org X11 libXrandr 開発パッケージ
28Group: Development/Libraries
29Requires(pre): xorg-x11-filesystem
30Requires: %{name} = %{version}-%{release}
31Requires: xorg-x11-proto-devel
32Obsoletes: XFree86-devel, XOrg-devel
33
34%description devel
35X.Org X11 libXrandr development package
36
37# compat32
38%package -n compat32-%{name}
39Summary: X.Org X11 libXrandr runtime library
40Summary(ja): X.Org X11 libXrandr ランタイムライブラリ
41Group: System Environment/Libraries
42
43%description -n compat32-%{name}
44X.Org X11 libXrandr runtime library
45
46%package -n compat32-%{name}-devel
47Summary: X.Org X11 libXrandr development package
48Summary(ja): X.Org X11 libXrandr 開発パッケージ
49Group: Development/Libraries
50Requires(pre): xorg-x11-filesystem
51Requires: compat32-%{name} = %{version}-%{release}
52Requires: %{name}-devel = %{version}-%{release}
53
54%description -n compat32-%{name}-devel
55X.Org X11 libXrandr development package
56
57%prep
58%setup -q
59
60%build
61%configure  --disable-static
62make
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67make install DESTDIR=$RPM_BUILD_ROOT
68
69# We intentionally don't ship *.la files
70rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
78%post -n compat32-%{name} -p /sbin/ldconfig
79%postun -n compat32-%{name} -p /sbin/ldconfig
80
81%files
82%defattr(-,root,root,-)
83%doc AUTHORS COPYING README ChangeLog
84%{_libdir}/libXrandr.so.*
85
86%files devel
87%defattr(-,root,root,-)
88%dir %{_includedir}/X11
89%dir %{_includedir}/X11/extensions
90%{_includedir}/X11/extensions/Xrandr.h
91%{_libdir}/libXrandr.so
92%{_libdir}/pkgconfig/xrandr.pc
93%{_mandir}/man3/*.3*
94
95# compat32
96%if %{build_compat32}
97%files -n compat32-%{name}
98%defattr(-,root,root,-)
99%{_libdir}/libXrandr.so.*
100
101%files -n compat32-%{name}-devel
102%defattr(-,root,root,-)
103%dir %{_includedir}/X11
104%dir %{_includedir}/X11/extensions
105%{_includedir}/X11/extensions/Xrandr.h
106%{_libdir}/libXrandr.so
107%{_libdir}/pkgconfig/xrandr.pc
108%endif
109
110%changelog
111* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
112- new upstream release
113
114* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-3
115- rebuild with rpm-4.8.1 for pkg-config file
116
117* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.0-2
118- added compat32 package for x86_64 arch support
119
120* Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-1
121- new upstream release
122
123* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-1
124- new upstream release
125
126* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
127- new versioning policy
128
129* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1
130- initial build for Vine Linux
131
132* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.2.2-1
133- libXrandr 1.2.2
134
135* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.2.0-5
136- Rebuild for build id
137
138* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.2.0-4
139- Don't install INSTALL
140
141* Thu Apr 12 2007 Adam Jackson <ajax@redhat.com> 1.2.0-3
142- BuildRequire on the randrproto virtual instead of a magic x-x-p-d version.
143- Fix -devel package to require sufficiently new randrproto.
144
145* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 1.2.0-2
146- libXrandr-1.2.0-appease-cee-plus-plus.patch: don't use C++ keywords as
147  function argument names.
148
149* Wed Feb 21 2007 Adam Jackson <ajax@redhat.com> 1.2.0-1
150- libXrandr 1.2.0
151
152* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-2.1
153- Update to 1.1.2
154
155* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.1-3.1
156- rebuild
157
158* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
159- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc
160
161* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-2
162- Added "BuildRequires: pkgconfig" for (#193428)
163- Replace "makeinstall" with "make install DESTDIR=..." for (#192724)
164- Remove package ownership of mandir/libdir/etc.
165
166* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
167- Update to 1.1.1
168
169* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.2
170- bump again for double-long bug on ppc(64)
171
172* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.1
173- rebuilt for new gcc4.1 snapshot and glibc changes
174
175* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.0.2-2
176- Bumped and rebuilt
177
178* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.2-1
179- Updated libXrandr to version 1.1.0.2 from X11R7 RC4
180
181* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.1-1
182- Updated libXrandr to version 1.1.0.1 from X11R7 RC3
183- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
184  that /usr/lib/X11 and /usr/include/X11 pre-exist.
185- Removed 'x' suffix from manpage directories to match RC3 upstream.
186
187* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
188- rebuilt
189
190* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
191- Updated libXrandr to version 0.99.2 from X11R7 RC2
192- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
193- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
194
195
196* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
197- Updated libXrandr to version 0.99.1 from X11R7 RC1
198- Updated file manifest to find manpages in "man3x"
199
200* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
201- Renamed package to remove xorg-x11 from the name due to unanimous decision
202  between developers.
203- Use Fedora Extras style BuildRoot tag.
204- Disable static library creation by default.
205- Add missing defattr to devel subpackage
206- Add missing documentation files to doc macro
207
208* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
209- Renamed package to prepend "xorg-x11" to the name for consistency with
210  the rest of the X11R7 packages.
211- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
212  subpackage to ensure the devel package matches the installed shared libs.
213- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
214  allow applications to use implementation agnostic dependencies.
215- Added post/postun scripts which call ldconfig.
216- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
217  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
218
219* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
220- Initial build.
Note: See TracBrowser for help on using the repository browser.