source: projects/specs/trunk/lib/libX/libXcursor/libXcursor-vl.spec @ 12185

Revision 12185, 7.7 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXcursor runtime library
4Summary(ja): X.Org X11 libXcursor ランタイムライブラリ
5Name: libXcursor
6Version: 1.2.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-util-macros
17BuildRequires: xorg-x11-proto-devel
18BuildRequires: libX11-devel
19BuildRequires: libXfixes-devel
20BuildRequires: libXrender-devel
21Obsoletes: XFree86-libs, XOrg-libs
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27X.Org X11 libXcursor runtime library
28
29%package devel
30Summary: X.Org X11 libXcursor development package
31Summary(ja): X.Org X11 libXcursor 開発パッケージ
32Group: Development/Libraries
33Requires(pre): xorg-x11-filesystem
34Requires: %{name} = %{version}-%{release}
35Requires: pkgconfig
36Requires: xorg-x11-proto-devel
37Obsoletes: XFree86-devel, XOrg-devel
38
39%description devel
40X.Org X11 libXcursor development package
41
42# compat32
43%package -n compat32-%{name}
44Summary: X.Org X11 libXcursor runtime library
45Summary(ja): X.Org X11 libXcursor ランタイムライブラリ
46Group: System Environment/Libraries
47
48%description -n compat32-%{name}
49X.Org X11 libXcursor runtime library
50
51%package -n compat32-%{name}-devel
52Summary: X.Org X11 libXcursor development package
53Summary(ja): X.Org X11 libXcursor 開発パッケージ
54Group: Development/Libraries
55Requires(pre): xorg-x11-filesystem
56Requires: compat32-%{name} = %{version}-%{release}
57Requires: %{name}-devel = %{version}-%{release}
58
59%description -n compat32-%{name}-devel
60X.Org X11 libXcursor development package
61
62%prep
63%setup -q
64
65# Disable static library creation by default.
66%define with_static 0
67
68%build
69#export CFLAGS="$RPM_OPT_FLAGS -DICONDIR=\"/usr/share/icons\""
70%configure \
71%if ! %{with_static}
72        --disable-static
73%endif
74make
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79make install DESTDIR=$RPM_BUILD_ROOT
80
81mkdir -p $RPM_BUILD_ROOT/usr/share/icons/default
82cat <<EOF > $RPM_BUILD_ROOT/usr/share/icons/default/index.theme
83[Icon Theme]
84Inherits=Vine
85EOF
86
87# We intentionally don't ship *.la files
88rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%post -n compat32-%{name} -p /sbin/ldconfig
97%postun -n compat32-%{name} -p /sbin/ldconfig
98
99%files
100%defattr(-,root,root,-)
101%license COPYING
102%doc AUTHORS README ChangeLog
103%{_libdir}/libXcursor.so.1
104%{_libdir}/libXcursor.so.1.0.*
105%dir %{_datadir}/icons/default
106%config(noreplace) %verify(not md5 size mtime) %{_datadir}/icons/default/index.theme
107
108%files devel
109%defattr(-,root,root,-)
110%dir %{_includedir}/X11
111%dir %{_includedir}/X11/Xcursor
112%{_includedir}/X11/Xcursor/Xcursor.h
113%if %{with_static}
114%{_libdir}/libXcursor.a
115%endif
116%{_libdir}/libXcursor.so
117%{_libdir}/pkgconfig/xcursor.pc
118#%dir %{_mandir}/man3x
119%{_mandir}/man3/Xcursor*.3*
120
121# compat32
122%if %{build_compat32}
123%files -n compat32-%{name}
124%defattr(-,root,root,-)
125%{_libdir}/libXcursor.so.1
126%{_libdir}/libXcursor.so.1.0.*
127
128%files -n compat32-%{name}-devel
129%defattr(-,root,root,-)
130%if %{with_static}
131%{_libdir}/libXcursor.a
132%endif
133%{_libdir}/libXcursor.so
134%{_libdir}/pkgconfig/xcursor.pc
135%endif
136
137%changelog
138* Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
139- new upstream release.
140
141* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.14-2
142- rebuild with VineSeed environment
143
144* Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.14-1
145- new upstream release
146  (including security fix for CVE-2013-2003)
147
148* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.13-1
149- new upstream release
150
151* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.12-1
152- new upstream release
153
154* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.11-1
155- new upstream release
156
157* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.10-2
158- rebuild with rpm-4.8.1 for pkg-config file
159
160* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.10-1
161- new upstream release
162
163* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.9-3
164- added compat32 package for x86_64 arch support
165
166* Wed Oct 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-2
167- set default cursor theme to Vine
168- spec in utf8
169
170* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-1
171- new versioning policy
172
173* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-0vl1
174- initial build for Vine Linux
175
176* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.9-1
177- libXcursor 1.1.9
178
179* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.8-3
180- Rebuild for PPC toolchain bug
181
182* Sat Jul  7 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-3
183- Don't own /usr/share/icons
184- Require pkgconfig in -devel
185
186* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-2
187- Don't install INSTALL
188
189* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.8-1
190- Update to 1.1.8
191
192* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.7-1.1
193- rebuild
194
195* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.7-1
196- Update to 1.1.7 from X11R7.1
197
198* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.6-2
199- Added "BuildRequires: xorg-x11-proto-devel"
200- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xcursor.pc
201- Replace "makeinstall" with "make install DESTDIR=..."
202- Remove package ownership of mandir/libdir/etc.
203
204* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.6-1
205- Update to 1.1.6
206
207* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.2
208- bump again for double-long bug on ppc(64)
209
210* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.1
211- rebuilt for new gcc4.1 snapshot and glibc changes
212
213* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.5.2-2
214- Bumped and rebuilt
215
216* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.2-1
217- Updated libXcursor to version 1.1.5.2 from X11R7 RC4
218
219* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.1-1
220- Updated libXcursor to version 1.1.5.1 from X11R7 RC3
221- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
222  that /usr/lib/X11 and /usr/include/X11 pre-exist.
223- Removed 'x' suffix from manpage directories to match RC3 upstream.
224- Added default index.theme file to set BlueCurve as the default cursor theme
225  to fix bug (#175532).
226
227* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
228- rebuilt
229
230* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1.1.5-1
231- Updated libXcursor to version 1.1.5 from X11R7 RC2
232- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
233- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
234
235* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.1.4-1
236- Updated libXcursor to version 1.1.4 from X11R7 RC1
237
238* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-3
239- Renamed package to remove xorg-x11 from the name due to unanimous decision
240  between developers.
241- Use Fedora Extras style BuildRoot tag.
242- Disable static library creation by default.
243- Add missing defattr to devel subpackage
244- Add missing documentation files to doc macro
245
246* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-2
247- Renamed package to prepend "xorg-x11" to the name for consistency with
248  the rest of the X11R7 packages.
249- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
250  subpackage to ensure the devel package matches the installed shared libs.
251- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
252  allow applications to use implementation agnostic dependencies.
253- Added post/postun scripts which call ldconfig.
254- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
255  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
256
257* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-1
258- Initial build.
Note: See TracBrowser for help on using the repository browser.