SHA256
1
0
forked from pool/libXpm

Accepting request 104229 from home:jengelh:branches:X11:XOrg

Replaces xorg-x11-libXpm

OBS-URL: https://build.opensuse.org/request/show/104229
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXpm?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2012-02-13 10:07:46 +00:00 committed by Git OBS Bridge
commit 5996a5f6d0
6 changed files with 236 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

8
baselibs.conf Normal file
View File

@ -0,0 +1,8 @@
libXpm4
provides "xorg-x11-libXpm-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libXpm-<targettype> < 7.6_<version>"
libXpm-devel
requires -libXpm-<targettype>
requires "libXpm4-<targettype> = <version>"
provides "xorg-x11-libXpm-devel-<targettype> = 7.6_<version>"
obsoletes "xorg-x11-libXpm-devel-<targettype> < 7.6_<version>"

3
libXpm-3.5.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8add01029cab0598ca86e01a2f7781a636f74b757abe6b50ba61b2a6e2fd621e
size 383818

95
libXpm.changes Normal file
View File

@ -0,0 +1,95 @@
-------------------------------------------------------------------
Sun Feb 12 01:08:12 UTC 2012 - jengelh@medozas.de
- Rename xorg-x11-libXpm to libXpm and utilize shlib policy
-------------------------------------------------------------------
Tue Dec 21 02:46:24 UTC 2010 - sndirsch@novell.com
- bumped version number to 7.6
-------------------------------------------------------------------
Sat Oct 30 15:45:53 UTC 2010 - sndirsch@novell.com
- libXpm 3.5.9
* This minor maintenance release provides a large collection of
build configuration improvements and other janitorial
cleanups.
-------------------------------------------------------------------
Sun Apr 4 15:45:51 CEST 2010 - sndirsch@suse.de
- libXpm 3.5.8
- bumped version number to 7.5
-------------------------------------------------------------------
Mon Dec 14 23:59:15 CET 2009 - jengelh@medozas.de
- add baselibs.conf as a source
-------------------------------------------------------------------
Sat May 2 14:42:17 CEST 2009 - eich@suse.de
- revert static library and .la file removal
for SUSE versions <= 11.1.
-------------------------------------------------------------------
Tue Apr 21 19:46:35 CEST 2009 - crrodriguez@suse.de
- remove static libraries and "la" files
- run ldconfig in postun
-------------------------------------------------------------------
Thu Sep 11 14:21:54 CEST 2008 - sndirsch@suse.de
- bumped release number to 7.4
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Sat Sep 29 12:23:40 CEST 2007 - sndirsch@suse.de
- bumped version to 7.3
-------------------------------------------------------------------
Fri Aug 24 15:49:55 CEST 2007 - sndirsch@suse.de
- libXpm 3.5.7
* Sun bug 4486226: Xpm is not internationalized
* Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros
* Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
* Replace index/rindex with C89 standard strchr/strrchr
* Use srcdir in paths passed to xgettext when making .po files
* Replace strcpy with strncpy to match previous code block
* X.Org Bug #11863: Build libXpm on MS Windows (with MinGW)
-------------------------------------------------------------------
Sat Oct 14 06:16:47 CEST 2006 - sndirsch@suse.de
- updated to X.Org 7.2RC1
-------------------------------------------------------------------
Wed Aug 2 16:12:23 CEST 2006 - sndirsch@suse.de
- fix setup line
-------------------------------------------------------------------
Fri Jul 28 14:44:42 CEST 2006 - sndirsch@suse.de
- use "-fno-strict-aliasing"
-------------------------------------------------------------------
Thu Jul 27 11:47:25 CEST 2006 - sndirsch@suse.de
- use $RPM_OPT_FLAGS
- remove existing /usr/include/X11 symlink in %pre
-------------------------------------------------------------------
Fri Jun 23 16:51:11 CEST 2006 - sndirsch@suse.de
- created package

106
libXpm.spec Normal file
View File

@ -0,0 +1,106 @@
#
# spec file for package libXpm
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libXpm
%define lname libXpm4
Version: 3.5.9
Release: 0
Summary: X Pixmap image file format library
License: MIT
Group: Development/Libraries/C and C++
URL: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXpm
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXpm/
Source: %name-%version.tar.bz2
BuildRoot: %_tmppath/%name-%version-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.8, pkgconfig(xproto)
BuildRequires: pkgconfig(x11), pkgconfig(xt), pkgconfig(xext)
BuildRequires: pkgconfig(xextproto)
%description
libXpm facilitates working with XPM (X PixMap), a format for
storing/retrieving X pixmaps to/from files.
%package -n %lname
Summary: X Pixmap image file format library
Group: System/Libraries
%description -n %lname
libXpm facilitates working with XPM (X PixMap), a format for
storing/retrieving X pixmaps to/from files.
%package devel
Summary: Development files for the X Pixmap image file format library
Group: Development/Libraries/C and C++
Requires: %lname = %version
# O/P added for 12.2
Provides: xorg-x11-libXpm-devel = 7.6_%version-%release
Obsoletes: xorg-x11-libXpm-devel < 7.6_%version-%release
%description devel
libXpm facilitates working with XPM (X PixMap), a format for
storing/retrieving X pixmaps to/from files.
This package contains the development headers for the library found
in %lname.
%package tools
Summary: Conversion utilities for X Pixmap (XPM) files
Group: Productivity/Graphics/Convertors
# O/P added for 12.2
Provides: xorg-x11-libXpm = 7.6_%version-%release
Obsoletes: xorg-x11-libXpm < 7.6_%version-%release
%description tools
The spxm tool converts XPM1/XPM2 files to XPM version 3.
The cxpm tool will check whether an XPM file is correct or not with
regard to its format.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXpm.so.4*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXpm.so
%_libdir/pkgconfig/xpm.pc
%files tools
%defattr(-,root,root)
%_bindir/cxpm
%_bindir/sxpm
%_mandir/man1/cxpm.1*
%_mandir/man1/sxpm.1*
%changelog