public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libsquish] epel10: Initial import.
@ 2026-07-22 13:29 Gwyn Ciesla
  0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-07-22 13:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libsquish
Branch : epel10
Commit : 9d0b2a9da1a053fd9ac5ee2403e9409a5377bff0
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2019-04-22T16:20:03-05:00
Stats  : +74/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/libsquish/c/9d0b2a9da1a053fd9ac5ee2403e9409a5377bff0?branch=epel10

Log:
Initial import.

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6d05cd3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libsquish-1.15.tgz

diff --git a/libsquish-cmake_install.patch b/libsquish-cmake_install.patch
new file mode 100644
index 0000000..ace61ed
--- /dev/null
+++ b/libsquish-cmake_install.patch
@@ -0,0 +1,21 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -109,9 +109,15 @@ IF (BUILD_SQUISH_EXTRA)
+     ENDIF (PNG_FOUND)
+ ENDIF (BUILD_SQUISH_EXTRA)
+ 
++INCLUDE(GNUInstallDirs)
++mark_as_advanced(CLEAR
++    CMAKE_INSTALL_LIBDIR
++    CAMKE_INSTALL_INCLUDEDIR
++    )
++
+ INSTALL(
+     TARGETS squish
+-    LIBRARY DESTINATION lib
+-    ARCHIVE DESTINATION lib
+-    PUBLIC_HEADER DESTINATION include
++    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++    ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++    PUBLIC_HEADER DESTINATION ${CMAKE_INCLUDE_INCLUDEDIR}
+     )

diff --git a/libsquish.spec b/libsquish.spec
new file mode 100644
index 0000000..f6ed2d5
--- /dev/null
+++ b/libsquish.spec
@@ -0,0 +1,51 @@
+Name: libsquish
+Version: 1.15
+Release: 2%{?dist}
+URL: https://sourceforge.net/projects/libsquish/
+Summary: Open source DXT compression library
+License: MIT
+Source0: http://download.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tgz
+Patch0:  libsquish-cmake_install.patch
+BuildRequires: gcc-c++ cmake
+
+%package devel
+Summary: Development files for Open source DXT compression library
+Requires: %{name}%{_isa} = %{version}-%{release}
+
+%description
+The libSquish library compresses images with the DXT standard
+(also known as S3TC). This standard is mainly used by OpenGL and
+DirectX for the lossy compression of RGBA textures.
+
+%description devel
+The libsquish-devel package contains files needed for developing or compiling
+applications which use DXT compression.
+
+%prep
+%autosetup -c libsquish-%{version}
+
+%build
+%cmake .
+%make_build
+
+%install
+%make_install
+
+%ldconfig_scriptlets
+
+%files
+%license LICENSE.txt
+%doc ChangeLog.txt
+%{_libdir}/*.so.0.0
+
+%files devel
+%doc README.txt
+%{_libdir}/*.so
+%{_includedir}/*
+
+%changelog
+* Mon Apr 22 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.15-2
+- Review fixes.
+
+* Mon Apr 22 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.15-1
+- Initial package.

diff --git a/sources b/sources
new file mode 100644
index 0000000..9ab8d35
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libsquish-1.15.tgz) = 5b569b7023874c7a43063107e2e428ea19e6eb00de045a4a13fafe852ed5402093db4b65d540b5971ec2be0d21cb97dfad9161ebfe6cf6e5376174ff6c6c3e7a

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-22 13:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 13:29 [rpms/libsquish] epel10: Initial import Gwyn Ciesla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox