Hello community, here is the log from the commit of package ftgl for openSUSE:Factory checked in at 2015-04-16 14:12:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ftgl (Old) and /work/SRC/openSUSE:Factory/.ftgl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ftgl" Changes: -------- --- /work/SRC/openSUSE:Factory/ftgl/ftgl.changes 2012-09-23 08:44:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ftgl.new/ftgl.changes 2015-04-16 14:12:12.000000000 +0200 @@ -1,0 +2,20 @@ +Tue Apr 14 11:47:21 CEST 2015 - [email protected] + +- Fix download URL containing percent letters to make "osc service + localrun download_files" working + +------------------------------------------------------------------- +Mon Apr 13 13:34:47 UTC 2015 - [email protected] + +- Add baselibs to sources + +------------------------------------------------------------------- +Sun Apr 12 19:19:32 UTC 2015 - [email protected] + +- Use url for source +- Use tilde in version +- Clenaup spec file with spec-cleaner +- Update dependencies +- Remove obsolete defines + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ftgl.spec ++++++ --- /var/tmp/diff_new_pack.fB6rQW/_old 2015-04-16 14:12:12.000000000 +0200 +++ /var/tmp/diff_new_pack.fB6rQW/_new 2015-04-16 14:12:12.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ftgl # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,30 @@ Name: ftgl -BuildRequires: doxygen -BuildRequires: freeglut-devel -BuildRequires: freetype2-devel -BuildRequires: gcc-c++ -BuildRequires: libdrm-devel -BuildRequires: libtool -BuildRequires: pkgconfig(glu) -Version: 2.1.2.99.5 +Version: 2.1.3~rc5 Release: 0 -%define _version 2.1.3-rc5 -%define __version 2.1.3~rc5 -Url: http://ftgl.wiki.sourceforge.net/ Summary: Library for Using Arbitrary Fonts in OpenGL Applications License: LGPL-2.1+ Group: System/Libraries -Source: %{name}-%{_version}.tar.bz2 -Patch: %{name}-autoreconf.patch +Url: http://ftgl.wiki.sourceforge.net/ +Source0: http://sourceforge.net/projects/ftgl/files/FTGL%%20Source/2.1.3%%7Erc5/%{name}-2.1.3-rc5.tar.bz2 +Source1: baselibs.conf +Patch0: %{name}-autoreconf.patch Patch1: ftgl-pkgconfig.patch Patch2: ftgl-fix-no-add-needed.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: doxygen +BuildRequires: freeglut-devel +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(x11) BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define debug_package_requires libftgl2 = %{version}-%{release} %description FTGL is a free open source library that enables developers to use @@ -67,29 +70,10 @@ - Buffer maps - - -Authors: --------- - Henry Maddocks <[email protected]> - Jed Soane - G�rard Lanois - Matthias Kretz - Andrew Ellerton - Max Rheiner - S�bastien Barr� - Marcelo E. Magallon <[email protected]> - Robert Bell - Sam Hocevar <[email protected]> - �ric Beets <[email protected]> - Christopher Sean Morrison <[email protected]> - Jeff Myers (JeffM2501) <[email protected]> - Daniel Remenak <[email protected]> - %package -n libftgl2 Summary: Library for Using Arbitrary Fonts in OpenGL Applications Group: System/Libraries -Provides: ftgl:/usr/%_lib/libftgl.so.0 +Provides: ftgl:%{_libdir}/libftgl.so.0 %description -n libftgl2 FTGL is a free open source library that enables developers to use @@ -119,25 +103,6 @@ - Buffer maps - - -Authors: --------- - Henry Maddocks <[email protected]> - Jed Soane - G�rard Lanois - Matthias Kretz - Andrew Ellerton - Max Rheiner - S�bastien Barr� - Marcelo E. Magallon <[email protected]> - Robert Bell - Sam Hocevar <[email protected]> - �ric Beets <[email protected]> - Christopher Sean Morrison <[email protected]> - Jeff Myers (JeffM2501) <[email protected]> - Daniel Remenak <[email protected]> - %package devel Summary: Library for Using Arbitrary Fonts in OpenGL Applications Group: Development/Libraries/C and C++ @@ -169,25 +134,6 @@ quality software. It has been written with a focus on performance, robustness, and simplicity. - - -Authors: --------- - Henry Maddocks <[email protected]> - Jed Soane - G�rard Lanois - Matthias Kretz - Andrew Ellerton - Max Rheiner - S�bastien Barr� - Marcelo E. Magallon <[email protected]> - Robert Bell - Sam Hocevar <[email protected]> - �ric Beets <[email protected]> - Christopher Sean Morrison <[email protected]> - Jeff Myers (JeffM2501) <[email protected]> - Daniel Remenak <[email protected]> - %package demo Summary: Library for Using Arbitrary Fonts in OpenGL Applications Group: System/Libraries @@ -222,56 +168,35 @@ - Buffer maps - - -Authors: --------- - Henry Maddocks <[email protected]> - Jed Soane - G�rard Lanois - Matthias Kretz - Andrew Ellerton - Max Rheiner - S�bastien Barr� - Marcelo E. Magallon <[email protected]> - Robert Bell - Sam Hocevar <[email protected]> - �ric Beets <[email protected]> - Christopher Sean Morrison <[email protected]> - Jeff Myers (JeffM2501) <[email protected]> - Daniel Remenak <[email protected]> - %prep -%setup -q -n %{name}-%{__version} -%patch +%setup -q +%patch0 %patch1 %patch2 %build -autoreconf -f -i -v -%configure --with-pic \ +./autogen.sh +%configure \ + --with-pic \ --disable-static -make %{?jobs:-j%jobs} documentationdir=%{_docdir}/%{name} +make %{?_smp_mflags} documentationdir=%{_docdir}/%{name} %install -%makeinstall documentationdir=%{_docdir}/%{name} -mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/libftgl2 -cp -pr AUTHORS BUGS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/libftgl2 -mkdir -p $RPM_BUILD_ROOT%{_bindir} +make DESTDIR=%{buildroot} install %{?_smp_mflags} documentationdir=%{_docdir}/%{name} +mkdir -p %{buildroot}%{_defaultdocdir}/libftgl2 +cp -pr AUTHORS BUGS COPYING ChangeLog NEWS README TODO %{buildroot}%{_defaultdocdir}/libftgl2 +mkdir -p %{buildroot}%{_bindir} cd demo -/bin/sh ../libtool --mode=install /usr/bin/install -c FTGLDemo $RPM_BUILD_ROOT%{_bindir}/FTGLDemo -/bin/sh ../libtool --mode=install /usr/bin/install -c FTGLMFontDemo $RPM_BUILD_ROOT%{_bindir}/FTGLMFontDemo -/bin/sh ../libtool --mode=install /usr/bin/install -c c-demo $RPM_BUILD_ROOT%{_bindir}/FTGL-c-demo -/bin/sh ../libtool --mode=install /usr/bin/install -c simple $RPM_BUILD_ROOT%{_bindir}/FTGL-simple-demo -mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-demo -cp -pr *.cpp *.c *.h $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-demo +/bin/sh ../libtool --mode=install %{_bindir}/install -c FTGLDemo %{buildroot}%{_bindir}/FTGLDemo +/bin/sh ../libtool --mode=install %{_bindir}/install -c FTGLMFontDemo %{buildroot}%{_bindir}/FTGLMFontDemo +/bin/sh ../libtool --mode=install %{_bindir}/install -c c-demo %{buildroot}%{_bindir}/FTGL-c-demo +/bin/sh ../libtool --mode=install %{_bindir}/install -c simple %{buildroot}%{_bindir}/FTGL-simple-demo +mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-demo +cp -pr *.cpp *.c *.h %{buildroot}%{_defaultdocdir}/%{name}-demo cd .. -%{__rm} -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print grep -r include %{buildroot}%{_includedir} | awk -F: '{print $2}' -%clean -rm -rf $RPM_BUILD_ROOT - %post -n libftgl2 -p /sbin/ldconfig %postun -n libftgl2 -p /sbin/ldconfig
