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

Revision 4616, 7.1 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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.2
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 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
116- new upstream release
117
118* Sun Dec 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-2
119- add Requires: libXrender-devel (devel package)
120
121* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
122- new upstream release
123
124* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-3
125- rebuild with rpm-4.8.1 for pkg-config file
126
127* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.0-2
128- added compat32 package for x86_64 arch support
129
130* Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-1
131- new upstream release
132
133* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-1
134- new upstream release
135
136* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
137- new versioning policy
138
139* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1
140- initial build for Vine Linux
141
142* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.2.2-1
143- libXrandr 1.2.2
144
145* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.2.0-5
146- Rebuild for build id
147
148* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.2.0-4
149- Don't install INSTALL
150
151* Thu Apr 12 2007 Adam Jackson <ajax@redhat.com> 1.2.0-3
152- BuildRequire on the randrproto virtual instead of a magic x-x-p-d version.
153- Fix -devel package to require sufficiently new randrproto.
154
155* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 1.2.0-2
156- libXrandr-1.2.0-appease-cee-plus-plus.patch: don't use C++ keywords as
157  function argument names.
158
159* Wed Feb 21 2007 Adam Jackson <ajax@redhat.com> 1.2.0-1
160- libXrandr 1.2.0
161
162* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-2.1
163- Update to 1.1.2
164
165* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.1-3.1
166- rebuild
167
168* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
169- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc
170
171* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-2
172- Added "BuildRequires: pkgconfig" for (#193428)
173- Replace "makeinstall" with "make install DESTDIR=..." for (#192724)
174- Remove package ownership of mandir/libdir/etc.
175
176* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
177- Update to 1.1.1
178
179* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.2
180- bump again for double-long bug on ppc(64)
181
182* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.1
183- rebuilt for new gcc4.1 snapshot and glibc changes
184
185* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.0.2-2
186- Bumped and rebuilt
187
188* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.2-1
189- Updated libXrandr to version 1.1.0.2 from X11R7 RC4
190
191* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.1-1
192- Updated libXrandr to version 1.1.0.1 from X11R7 RC3
193- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
194  that /usr/lib/X11 and /usr/include/X11 pre-exist.
195- Removed 'x' suffix from manpage directories to match RC3 upstream.
196
197* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
198- rebuilt
199
200* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
201- Updated libXrandr to version 0.99.2 from X11R7 RC2
202- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
203- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
204
205
206* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
207- Updated libXrandr to version 0.99.1 from X11R7 RC1
208- Updated file manifest to find manpages in "man3x"
209
210* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
211- Renamed package to remove xorg-x11 from the name due to unanimous decision
212  between developers.
213- Use Fedora Extras style BuildRoot tag.
214- Disable static library creation by default.
215- Add missing defattr to devel subpackage
216- Add missing documentation files to doc macro
217
218* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
219- Renamed package to prepend "xorg-x11" to the name for consistency with
220  the rest of the X11R7 packages.
221- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
222  subpackage to ensure the devel package matches the installed shared libs.
223- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
224  allow applications to use implementation agnostic dependencies.
225- Added post/postun scripts which call ldconfig.
226- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
227  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
228
229* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
230- Initial build.
Note: See TracBrowser for help on using the repository browser.