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

Revision 6681, 7.2 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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