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

Revision 521, 6.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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