Hello community,
here is the log from the commit of package nvidia-texture-tools for
openSUSE:Factory checked in at 2016-07-14 09:50:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-texture-tools (Old)
and /work/SRC/openSUSE:Factory/.nvidia-texture-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvidia-texture-tools"
Changes:
--------
---
/work/SRC/openSUSE:Factory/nvidia-texture-tools/nvidia-texture-tools.changes
2016-07-05 09:52:02.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.nvidia-texture-tools.new/nvidia-texture-tools.changes
2016-07-14 09:51:03.000000000 +0200
@@ -1,0 +2,9 @@
+Sun Jul 10 19:20:02 UTC 2016 - [email protected]
+
+- Update project and download url
+- Cleanup spec file with spec-cleaner
+- Drop support for distributions without cmake macros as they are
+ all out of support now.
+- Correct encoding of license files
+
+-------------------------------------------------------------------
Old:
----
nvidia-texture-tools-2.0.8-1.tar.gz
New:
----
nvidia-texture-tools-2.0.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nvidia-texture-tools.spec ++++++
--- /var/tmp/diff_new_pack.VFk7Me/_old 2016-07-14 09:51:04.000000000 +0200
+++ /var/tmp/diff_new_pack.VFk7Me/_new 2016-07-14 09:51:04.000000000 +0200
@@ -17,27 +17,30 @@
Name: nvidia-texture-tools
+Version: 2.0.8
+Release: 0
Summary: NVIDIA Texture Tools
License: MIT
Group: Development/Tools/Other
-Version: 2.0.8
-Release: 0
+# BuildRequires: cg-devel
+Url: https://github.com/castano/nvidia-texture-tools
+Source0:
https://github.com/castano/nvidia-texture-tools/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0: nvidia-texture-tools-gcc47.patch
+# patch libpng15 is upstreamed yet
(http://code.google.com/p/nvidia-texture-tools/source/detail)
+Patch1: nvidia-texture-tools-libpng15.patch
+Patch2: nvidia-texture-tools-gcc6.patch
BuildRequires: Mesa-devel
BuildRequires: cmake
+BuildRequires: dos2unix
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
+BuildRequires: glew-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: zlib-devel
-# BuildRequires: cg-devel
-Source0:
http://nvidia-texture-tools.googlecode.com/files/%name-%version-1.tar.gz
-Patch0: nvidia-texture-tools-gcc47.patch
-# patch libpng15 is upstreamed yet
(http://code.google.com/p/nvidia-texture-tools/source/detail)
-Patch1: nvidia-texture-tools-libpng15.patch
-Patch2: nvidia-texture-tools-gcc6.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch: %ix86 x86_64 ppc
+ExclusiveArch: %{ix86} x86_64 ppc
%description
This is the first alpha release of the new NVIDIA Texture Tools. The main
highlights of
@@ -55,42 +58,41 @@
The source code of the Texture Tools is being released under the terms of
the MIT license.
-
%prep
-%setup -q -n %name
+%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
-export CFLAGS="$RPM_OPT_FLAGS -fPIC"
-export CXXFLAGS="$CFLAGS"
-%if 0%{?suse_version} > 1230
-%cmake -DCMAKE_BUILD_TYPE=Release \
- -DNVTT_SHARED=1
-%else
-cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DDOC_INSTALL_DIR=%{_docdir} \
- -DCMAKE_BUILD_TYPE=Release \
- -DNVTT_SHARED=1
-%endif
-make VERBOSE=1
+export CFLAGS="%{optflags} -fPIC"
+export CXXFLAGS="%{optflags} -fPIC"
+%cmake \
+ -DNVTT_SHARED=1 \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+make %{?_smp_mflags} VERBOSE=1
%install
-%if 0%{?suse_version} > 1230
-cd build
-%endif
-make install DESTDIR=$RPM_BUILD_ROOT
-if [ "%_lib" != "lib" ];
+%cmake_install
+if [ "%{_lib}" != "lib" ];
then
- mv $RPM_BUILD_ROOT/usr/lib $RPM_BUILD_ROOT/usr/%_lib
+ mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/%{_lib}
fi
+dos2unix *.txt
%files
%defattr(-, root, root)
%doc NVIDIA_Texture_Tools_LICENSE.txt NVIDIA_Texture_Tools_README.txt ChangeLog
-%{_bindir}/*
+%{_bindir}/nvassemble
+%{_bindir}/nvcompress
+%{_bindir}/nvddsinfo
+%{_bindir}/nvdecompress
+%{_bindir}/nvimgdiff
+%{_bindir}/nvzoom
%{_includedir}/nvtt
-%{_libdir}/libnv*
+%{_libdir}/libnvcore.so
+%{_libdir}/libnvimage.so
+%{_libdir}/libnvmath.so
+%{_libdir}/libnvtt.so
%changelog
++++++ nvidia-texture-tools-2.0.8-1.tar.gz -> nvidia-texture-tools-2.0.8.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nvidia-texture-tools/buildpkg
new/nvidia-texture-tools-2.0.8/buildpkg
--- old/nvidia-texture-tools/buildpkg 1970-01-01 01:00:00.000000000 +0100
+++ new/nvidia-texture-tools-2.0.8/buildpkg 2010-05-15 11:12:05.000000000
+0200
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+tar zcvf nvidia-texture-tools-`cat VERSION`.tar.gz \
+ --exclude '.*' --exclude debian --exclude '*~' --exclude buildpkg \
+ --exclude build --exclude data --exclude tags --exclude Makefile \
+ --exclude 'nvidia-texture-tools-*.tar.gz' \
+ --transform 's,^,nvidia-texture-tools/,' *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/nvidia-texture-tools/src/nvtt/squish/Makefile
new/nvidia-texture-tools-2.0.8/src/nvtt/squish/Makefile
--- old/nvidia-texture-tools/src/nvtt/squish/Makefile 1970-01-01
01:00:00.000000000 +0100
+++ new/nvidia-texture-tools-2.0.8/src/nvtt/squish/Makefile 2010-05-15
11:12:05.000000000 +0200
@@ -0,0 +1,31 @@
+
+include config
+
+SRC = alpha.cpp clusterfit.cpp colourblock.cpp colourfit.cpp colourset.cpp
maths.cpp rangefit.cpp singlecolourfit.cpp squish.cpp
+
+OBJ = $(SRC:%.cpp=%.o)
+
+LIB = libsquish.a
+
+all : $(LIB)
+
+install : $(LIB)
+ install squish.h $(INSTALL_DIR)/include
+ install libsquish.a $(INSTALL_DIR)/lib
+
+uninstall:
+ $(RM) $(INSTALL_DIR)/include/squish.h
+ $(RM) $(INSTALL_DIR)/lib/libsquish.a
+
+$(LIB) : $(OBJ)
+ $(AR) cr $@ $?
+ ranlib $@
+
+%.o : %.cpp
+ $(CXX) $(CPPFLAGS) -I. $(CXXFLAGS) -o$@ -c $<
+
+clean :
+ $(RM) $(OBJ) $(LIB)
+
+
+