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

Revision 7825, 7.6 KB checked in by Takemikaduchi, 11 years ago (diff)

mate-media, mate-menu-editor: new package
mate-menus: add python subpackage
task-mate: add mate-media

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