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

Revision 8064, 7.8 KB checked in by Takemikaduchi, 10 years ago (diff)

freetype2: fix pkgconfig
xserver: update to 1.14.5
others: new upstream release or rebuild

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