public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libsquish] epel10: Initial import.
Date: Wed, 22 Jul 2026 13:29:32 GMT	[thread overview]
Message-ID: <178472697292.1.6407532767210807069.rpms-libsquish-9d0b2a9da1a0@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-07-22 13:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178472697292.1.6407532767210807069.rpms-libsquish-9d0b2a9da1a0@fedoraproject.org \
    --to=gwync@protonmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox