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

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