source: projects/specs/tags/6_0_REL/lib/libX/libXrandr/libXrandr-vl.spec @ 2370

Revision 2370, 6.9 KB checked in by Takemikaduchi, 13 years ago (diff)

add Requires

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