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

Revision 521, 6.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: X.Org X11 libXpm runtime library
2Summary(ja): X.Org X11 libXpm ランタイムライブラリ
3Name: libXpm
4Version: 3.5.8
5Release: 1%{?_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* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.8-1
92- new upstream release
93
94* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-2
95- spec in utf-8
96
97* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-1
98- new versioning policy
99
100* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.5.7-0vl1
101- initial build for Vine Linux
102
103* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 3.5.7-1
104- libXpm 3.5.7
105
106* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 3.5.6-2
107- Rebuild for build id
108
109* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 3.5.6-2
110- Don't install INSTALL
111
112* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 3.5.6-1
113- Update to 3.5.6
114
115* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.5.5-3
116- rebuild
117
118* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 3.5.5-2
119- Added "BuildRequires: pkgconfig" for (#193427)
120- Replace "makeinstall" with "make install DESTDIR=..."
121- Remove package ownership of mandir/libdir/etc.
122
123* Thu Apr 26 2006 Adam Jackson <ajackson@redhat.com> 3.5.5-1
124- Update to 3.5.5
125
126* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.2
127- bump again for double-long bug on ppc(64)
128
129* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 3.5.4.2-2.1
130- rebuilt for new gcc4.1 snapshot and glibc changes
131
132* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 3.5.4.2-2
133- Bumped and rebuilt
134
135* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.2-1
136- Updated libXpm to version 3.5.4.2 from X11R7 RC4
137
138* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 3.5.4.1-1
139- Updated libXpm to version 3.5.4.1 from X11R7 RC3
140- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
141  that /usr/lib/X11 and /usr/include/X11 pre-exist.
142- Removed 'x' suffix from manpage directories to match RC3 upstream.
143- Added "Requires: libX11-devel" to devel subpackage as xpm.h includes various
144  X headers. (#174163)
145- Added missing build dep libXau-devel
146
147* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
148- rebuilt
149
150* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 3.5.4-1
151- Updated libXpm to version 3.5.4 from X11R7 RC2
152- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
153- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
154
155* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 3.5.3-1
156- Updated libXpm to version 3.5.3 from X11R7 RC1
157- Added manpages for sxpm, cxpm
158
159* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-5
160- Renamed package to remove xorg-x11 from the name due to unanimous decision
161  between developers.
162- Use Fedora Extras style BuildRoot tag.
163- Disable static library creation by default.
164- Add missing defattr to devel subpackage
165- Add missing documentation files to doc macro
166- Fix BuildRequires to use new style X library package names
167
168* Sun Sep 4 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-4
169- Although ./configure checks for libXt and libXext, and indicates
170  that they are missing, it continues to build anyway, and just does not
171  build sxpm if they are not present.  Therefore, libXt-devel and
172  libXext-devel are required build deps in order to get sxpm built.
173- Added missing defattr to devel subpackage.
174
175* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-3
176- Changed all virtual BuildRequires to the "xorg-x11-" prefixed non-virtual
177  package names, as we want xorg-x11 libs to explicitly build against
178  X.Org supplied libs, rather than "any implementation", which is what the
179  virtual provides is intended for.
180
181* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-2
182- Renamed package to prepend "xorg-x11" to the name for consistency with
183  the rest of the X11R7 packages.
184- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
185  subpackage to ensure the devel package matches the installed shared libs.
186- Added missing sxpm binary to devel subpackage
187- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
188  allow applications to use implementation agnostic dependencies.
189- Added post/postun scripts which call ldconfig.
190- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
191  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
192
193* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 3.5.2-1
194- Initial build.
Note: See TracBrowser for help on using the repository browser.