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

Revision 12185, 7.9 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 libXpm runtime library
4Summary(ja): X.Org X11 libXpm ランタイムライブラリ
5Name: libXpm
6Version: 3.5.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: gettext
16BuildRequires: pkgconfig
17BuildRequires: xorg-x11-proto-devel
18BuildRequires: xorg-x11-util-macros
19BuildRequires: libX11-devel
20# FIXME: Although ./configure checks for libXt and libXext, and indicates
21# that they are missing, it continues to build anyway, and just does not
22# build sxpm if they are not present.  Therefore, libXt-devel and
23# libXext-devel are required build deps in order to get sxpm built.
24BuildRequires: libXt-devel
25BuildRequires: libXext-devel
26BuildRequires: libXau-devel
27
28Obsoletes: XFree86-libs, XOrg-libs
29
30Vendor: Project Vine
31Distribution: Vine Linux
32
33%description
34X.Org X11 libXpm runtime library
35
36%package devel
37Summary: X.Org X11 libXpm development package
38Group: Development/Libraries
39Requires(pre): xorg-x11-filesystem
40Requires: %{name} = %{version}-%{release}
41Requires: libX11-devel
42Obsoletes: XFree86-devel, XOrg-devel
43
44%description devel
45X.Org X11 libXpm development package
46
47
48%if %{build_compat32}
49%package -n compat32-%{name}
50Summary: X.Org X11 libXpm runtime library
51Summary(ja): X.Org X11 libXpm ランタイムライブラリ
52Group: System Environment/Libraries
53Requires: %{name} = %{version}-%{release}
54
55%description -n compat32-%{name}
56X.Org X11 libXpm runtime library
57
58%package -n compat32-%{name}-devel
59Summary: X.Org X11 libXpm development package
60Group: Development/Libraries
61Requires(pre): xorg-x11-filesystem
62Requires: %{name}-devel = %{version}-%{release}
63Requires: compat32-libX11-devel
64
65%description -n compat32-%{name}-devel
66X.Org X11 libXpm development package
67
68%endif
69
70%prep
71%setup -q
72
73# Disable static library creation by default.
74%define with_static 0
75
76%build
77%configure \
78%if ! %{with_static}
79        --disable-static
80%endif
81make
82
83%install
84rm -rf $RPM_BUILD_ROOT
85
86make install DESTDIR=$RPM_BUILD_ROOT
87
88# We intentionally don't ship *.la files
89rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(-,root,root,-)
99%license COPYING
100%doc AUTHORS README ChangeLog
101%{_libdir}/libXpm.so.4
102%{_libdir}/libXpm.so.4.11.*
103
104%files devel
105%defattr(-,root,root,-)
106%{_bindir}/cxpm
107%{_bindir}/sxpm
108%dir %{_includedir}/X11
109%{_includedir}/X11/xpm.h
110%if %{with_static}
111%{_libdir}/libXpm.a
112%endif
113%{_libdir}/libXpm.so
114%{_libdir}/pkgconfig/xpm.pc
115#%dir %{_mandir}/man1x
116%{_mandir}/man1/*.1*
117#%{_mandir}/man1/*.1x*
118
119%if %{build_compat32}
120%files -n compat32-%{name}
121%defattr(-,root,root,-)
122%{_libdir}/libXpm.so.4
123%{_libdir}/libXpm.so.4.11.*
124
125%files -n compat32-%{name}-devel
126%defattr(-,root,root,-)
127%if %{with_static}
128%{_libdir}/libXpm.a
129%endif
130%{_libdir}/libXpm.so
131
132%endif
133
134%changelog
135* Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.12-1
136- new upstream release.
137
138* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.11-2
139- rebuild with VineSeed environment
140
141* Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.11-1
142- new upstream release
143
144* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.10-1
145- new upstream release
146- add BuildRequires: xorg-x11-util-macros
147
148* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.9-1
149- new upstream release
150
151* Sat Nov 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.8-3
152- create compat32-%%{name} and compat32-%%{name}-devel packages
153
154* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.8-2
155- rebuild with rpm-4.8.1 for pkg-config file
156
157* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.8-1
158- new upstream release
159
160* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-2
161- spec in utf-8
162
163* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-1
164- new versioning policy
165
166* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-0vl1
167- initial build for Vine Linux
168
169* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 3.5.7-1
170- libXpm 3.5.7
171
172* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 3.5.6-2
173- Rebuild for build id
174
175* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 3.5.6-2
176- Don't install INSTALL
177
178* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 3.5.6-1
179- Update to 3.5.6
180
181* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.5.5-3
182- rebuild
183
184* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 3.5.5-2
185- Added "BuildRequires: pkgconfig" for (#193427)
186- Replace "makeinstall" with "make install DESTDIR=..."
187- Remove package ownership of mandir/libdir/etc.
188
189* Wed Apr 26 2006 Adam Jackson <ajackson@redhat.com> 3.5.5-1
190- Update to 3.5.5
191
192* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.2
193- bump again for double-long bug on ppc(64)
194
195* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.1
196- rebuilt for new gcc4.1 snapshot and glibc changes
197
198* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 3.5.4.2-2
199- Bumped and rebuilt
200
201* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.2-1
202- Updated libXpm to version 3.5.4.2 from X11R7 RC4
203
204* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.1-1
205- Updated libXpm to version 3.5.4.1 from X11R7 RC3
206- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
207  that /usr/lib/X11 and /usr/include/X11 pre-exist.
208- Removed 'x' suffix from manpage directories to match RC3 upstream.
209- Added "Requires: libX11-devel" to devel subpackage as xpm.h includes various
210  X headers. (#174163)
211- Added missing build dep libXau-devel
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> 3.5.4-1
217- Updated libXpm to version 3.5.4 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> 3.5.3-1
222- Updated libXpm to version 3.5.3 from X11R7 RC1
223- Added manpages for sxpm, cxpm
224
225* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-5
226- Renamed package to remove xorg-x11 from the name due to unanimous decision
227  between developers.
228- Use Fedora Extras style BuildRoot tag.
229- Disable static library creation by default.
230- Add missing defattr to devel subpackage
231- Add missing documentation files to doc macro
232- Fix BuildRequires to use new style X library package names
233
234* Sun Sep 4 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-4
235- Although ./configure checks for libXt and libXext, and indicates
236  that they are missing, it continues to build anyway, and just does not
237  build sxpm if they are not present.  Therefore, libXt-devel and
238  libXext-devel are required build deps in order to get sxpm built.
239- Added missing defattr to devel subpackage.
240
241* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-3
242- Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
243  package names, as we want xorg-x11 libs to explicitly build against
244  X.Org supplied libs, rather than "any implementation", which is what the
245  virtual provides is intended for.
246
247* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-2
248- Renamed package to prepend "xorg-x11" to the name for consistency with
249  the rest of the X11R7 packages.
250- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
251  subpackage to ensure the devel package matches the installed shared libs.
252- Added missing sxpm binary to devel subpackage
253- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
254  allow applications to use implementation agnostic dependencies.
255- Added post/postun scripts which call ldconfig.
256- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
257  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
258
259* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-1
260- Initial build.
Note: See TracBrowser for help on using the repository browser.