forked from pool/SDL_Pango
Accepting request 702113 from home:alois:branches:games
- Add cairo as dependency for pango (fixes Factory build) - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/702113 OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=21
This commit is contained in:
parent
2cc369e5be
commit
c013066ff0
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 11 07:35:31 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Add cairo as dependency for pango (fixes Factory build)
|
||||||
|
- Spec cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 8 09:06:11 UTC 2015 - jengelh@inai.de
|
Thu Jan 8 09:06:11 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package SDL_Pango
|
# spec file for package SDL_Pango
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,48 +12,48 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: SDL_Pango
|
|
||||||
%define lname libSDL_Pango1
|
%define lname libSDL_Pango1
|
||||||
|
Name: SDL_Pango
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Programming Pango via SDL
|
Summary: Programming Pango via SDL
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Url: http://sdlpango.sourceforge.net/
|
URL: http://sdlpango.sourceforge.net/
|
||||||
|
|
||||||
#CVS-Clone: -d:pserver:anonymous@sdlpango.cvs.sourceforge.net:/cvsroot/sdlpango co -P SDL_Pango
|
#CVS-Clone: -d:pserver:anonymous@sdlpango.cvs.sourceforge.net:/cvsroot/sdlpango co -P SDL_Pango
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
# PATCH-FEATURE-UPSTREAM SDL_Pango-0.1.2-API-adds.patch
|
||||||
Patch0: %{name}-%{version}-API-adds.patch
|
Patch0: %{name}-%{version}-API-adds.patch
|
||||||
|
BuildRequires: dos2unix
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: pkgconfig(pango)
|
BuildRequires: pkgconfig(pango)
|
||||||
BuildRequires: pkgconfig(sdl)
|
BuildRequires: pkgconfig(sdl)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
||||||
engine to SDL.
|
engine to SDL.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %{lname}
|
||||||
Summary: Programming Pango via SDL
|
Summary: Programming Pango via SDL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_Pango = %{version}
|
Provides: SDL_Pango = %{version}
|
||||||
Obsoletes: SDL_Pango <= %{version}
|
Obsoletes: SDL_Pango <= %{version}
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %{lname}
|
||||||
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
|
||||||
engine to SDL.
|
engine to SDL.
|
||||||
|
|
||||||
%package -n libSDL_Pango-devel
|
%package -n libSDL_Pango-devel
|
||||||
Summary: Include Files and Libraries for SDL_Pango development
|
Summary: Include Files and Libraries for SDL_Pango development
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %lname = %version
|
Requires: %{lname} = %{version}
|
||||||
Requires: libSDL-devel
|
Requires: libSDL-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Provides: SDL_Pango-devel = %{version}
|
Provides: SDL_Pango-devel = %{version}
|
||||||
@ -66,6 +66,7 @@ to develop applications that require these.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
|
dos2unix AUTHORS README
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -73,19 +74,18 @@ autoreconf -fiv
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %{lname}
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS README
|
||||||
%{_libdir}/libSDL_Pango.so.*
|
%{_libdir}/libSDL_Pango.so.*
|
||||||
|
|
||||||
%files -n libSDL_Pango-devel
|
%files -n libSDL_Pango-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/SDL_Pango.h
|
%{_includedir}/SDL_Pango.h
|
||||||
%{_libdir}/pkgconfig/SDL_Pango.pc
|
%{_libdir}/pkgconfig/SDL_Pango.pc
|
||||||
%{_libdir}/libSDL_Pango.so
|
%{_libdir}/libSDL_Pango.so
|
||||||
|
Loading…
Reference in New Issue
Block a user