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

Revision 1887, 6.3 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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