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

Revision 5869, 7.4 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

RevLine 
[521]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
[5869]6Version: 1.1.13
[2203]7Release: 1%{?_dist_release}
[521]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
[4616]23Vendor: Project Vine
24Distribution: Vine Linux
25
[521]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%doc AUTHORS COPYING README ChangeLog
102%{_libdir}/libXcursor.so.1
103%{_libdir}/libXcursor.so.1.0.*
104%dir %{_datadir}/icons/default
105%config(noreplace) %verify(not md5 size mtime) %{_datadir}/icons/default/index.theme
106
107%files devel
108%defattr(-,root,root,-)
109%dir %{_includedir}/X11
110%dir %{_includedir}/X11/Xcursor
111%{_includedir}/X11/Xcursor/Xcursor.h
112%if %{with_static}
113%{_libdir}/libXcursor.a
114%endif
115%{_libdir}/libXcursor.so
116%{_libdir}/pkgconfig/xcursor.pc
117#%dir %{_mandir}/man3x
118%{_mandir}/man3/Xcursor*.3*
119
120# compat32
121%if %{build_compat32}
122%files -n compat32-%{name}
123%defattr(-,root,root,-)
124%{_libdir}/libXcursor.so.1
125%{_libdir}/libXcursor.so.1.0.*
126
127%files -n compat32-%{name}-devel
128%defattr(-,root,root,-)
129%if %{with_static}
130%{_libdir}/libXcursor.a
131%endif
132%{_libdir}/libXcursor.so
133%{_libdir}/pkgconfig/xcursor.pc
134%endif
135
136%changelog
[5869]137* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.13-1
138- new upstream release
139
[4616]140* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.12-1
141- new upstream release
142
[2203]143* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.11-1
144- new upstream release
145
[1887]146* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.10-2
147- rebuild with rpm-4.8.1 for pkg-config file
148
[521]149* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.10-1
150- new upstream release
151
152* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.9-3
153- added compat32 package for x86_64 arch support
154
155* Wed Oct 08 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-2
156- set default cursor theme to Vine
157- spec in utf8
158
159* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-1
160- new versioning policy
161
162* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-0vl1
163- initial build for Vine Linux
164
165* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.9-1
166- libXcursor 1.1.9
167
168* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.8-3
169- Rebuild for PPC toolchain bug
170
171* Sat Jul  7 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-3
172- Don't own /usr/share/icons
173- Require pkgconfig in -devel
174
175* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.8-2
176- Don't install INSTALL
177
178* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.8-1
179- Update to 1.1.8
180
181* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.7-1.1
182- rebuild
183
184* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.7-1
185- Update to 1.1.7 from X11R7.1
186
187* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.6-2
188- Added "BuildRequires: xorg-x11-proto-devel"
189- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xcursor.pc
190- Replace "makeinstall" with "make install DESTDIR=..."
191- Remove package ownership of mandir/libdir/etc.
192
193* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.6-1
194- Update to 1.1.6
195
196* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.2
197- bump again for double-long bug on ppc(64)
198
199* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.1.5.2-2.1
200- rebuilt for new gcc4.1 snapshot and glibc changes
201
202* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.5.2-2
203- Bumped and rebuilt
204
205* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.2-1
206- Updated libXcursor to version 1.1.5.2 from X11R7 RC4
207
208* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.5.1-1
209- Updated libXcursor to version 1.1.5.1 from X11R7 RC3
210- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
211  that /usr/lib/X11 and /usr/include/X11 pre-exist.
212- Removed 'x' suffix from manpage directories to match RC3 upstream.
213- Added default index.theme file to set BlueCurve as the default cursor theme
214  to fix bug (#175532).
215
216* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
217- rebuilt
218
219* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1.1.5-1
220- Updated libXcursor to version 1.1.5 from X11R7 RC2
221- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
222- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
223
224* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 1.1.4-1
225- Updated libXcursor to version 1.1.4 from X11R7 RC1
226
227* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-3
228- Renamed package to remove xorg-x11 from the name due to unanimous decision
229  between developers.
230- Use Fedora Extras style BuildRoot tag.
231- Disable static library creation by default.
232- Add missing defattr to devel subpackage
233- Add missing documentation files to doc macro
234
235* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-2
236- Renamed package to prepend "xorg-x11" to the name for consistency with
237  the rest of the X11R7 packages.
238- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
239  subpackage to ensure the devel package matches the installed shared libs.
240- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
241  allow applications to use implementation agnostic dependencies.
242- Added post/postun scripts which call ldconfig.
243- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
244  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
245
246* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 1.1.3-1
247- Initial build.
Note: See TracBrowser for help on using the repository browser.