PL/XSLT: Initial packaging
authorDevrim Gunduz <devrim@gunduz.org>
Tue, 15 Apr 2025 07:12:21 +0000 (10:12 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Tue, 15 Apr 2025 07:12:21 +0000 (10:12 +0300)
51 files changed:
rpm/redhat/13/plxslt/EL-10 [new symlink]
rpm/redhat/13/plxslt/EL-8 [new symlink]
rpm/redhat/13/plxslt/EL-9 [new symlink]
rpm/redhat/13/plxslt/F-40 [new symlink]
rpm/redhat/13/plxslt/F-41 [new symlink]
rpm/redhat/13/plxslt/F-42 [new symlink]
rpm/redhat/13/plxslt/SLES-15 [new symlink]
rpm/redhat/14/plxslt/EL-10 [new symlink]
rpm/redhat/14/plxslt/EL-8 [new symlink]
rpm/redhat/14/plxslt/EL-9 [new symlink]
rpm/redhat/14/plxslt/F-40 [new symlink]
rpm/redhat/14/plxslt/F-41 [new symlink]
rpm/redhat/14/plxslt/F-42 [new symlink]
rpm/redhat/14/plxslt/SLES-15 [new symlink]
rpm/redhat/15/plxslt/EL-10 [new symlink]
rpm/redhat/15/plxslt/EL-8 [new symlink]
rpm/redhat/15/plxslt/EL-9 [new symlink]
rpm/redhat/15/plxslt/F-40 [new symlink]
rpm/redhat/15/plxslt/F-41 [new symlink]
rpm/redhat/15/plxslt/F-42 [new symlink]
rpm/redhat/15/plxslt/SLES-15 [new symlink]
rpm/redhat/16/plxslt/EL-10 [new symlink]
rpm/redhat/16/plxslt/EL-8 [new symlink]
rpm/redhat/16/plxslt/EL-9 [new symlink]
rpm/redhat/16/plxslt/F-40 [new symlink]
rpm/redhat/16/plxslt/F-41 [new symlink]
rpm/redhat/16/plxslt/F-42 [new symlink]
rpm/redhat/16/plxslt/SLES-15 [new symlink]
rpm/redhat/17/plxslt/EL-10 [new symlink]
rpm/redhat/17/plxslt/EL-8 [new symlink]
rpm/redhat/17/plxslt/EL-9 [new symlink]
rpm/redhat/17/plxslt/F-40 [new symlink]
rpm/redhat/17/plxslt/F-41 [new symlink]
rpm/redhat/17/plxslt/F-42 [new symlink]
rpm/redhat/17/plxslt/SLES-15 [new symlink]
rpm/redhat/main/non-common/plxslt/EL-10/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/EL-10/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/EL-8/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/EL-8/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/EL-9/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/EL-9/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/F-40/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/F-40/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/F-41/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/F-41/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/F-42/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/F-42/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/SLES-15/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/SLES-15/plxslt.spec [new symlink]
rpm/redhat/main/non-common/plxslt/main/Makefile [new file with mode: 0644]
rpm/redhat/main/non-common/plxslt/main/plxslt.spec [new file with mode: 0644]

diff --git a/rpm/redhat/13/plxslt/EL-10 b/rpm/redhat/13/plxslt/EL-10
new file mode 120000 (symlink)
index 0000000..18862d7
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-10
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/EL-8 b/rpm/redhat/13/plxslt/EL-8
new file mode 120000 (symlink)
index 0000000..fbdd227
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-8
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/EL-9 b/rpm/redhat/13/plxslt/EL-9
new file mode 120000 (symlink)
index 0000000..6ba2c89
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-9
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/F-40 b/rpm/redhat/13/plxslt/F-40
new file mode 120000 (symlink)
index 0000000..5d6b6cf
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-40
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/F-41 b/rpm/redhat/13/plxslt/F-41
new file mode 120000 (symlink)
index 0000000..95a9a7a
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-41
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/F-42 b/rpm/redhat/13/plxslt/F-42
new file mode 120000 (symlink)
index 0000000..f5cbf14
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-42
\ No newline at end of file
diff --git a/rpm/redhat/13/plxslt/SLES-15 b/rpm/redhat/13/plxslt/SLES-15
new file mode 120000 (symlink)
index 0000000..49a450b
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/SLES-15
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/EL-10 b/rpm/redhat/14/plxslt/EL-10
new file mode 120000 (symlink)
index 0000000..18862d7
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-10
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/EL-8 b/rpm/redhat/14/plxslt/EL-8
new file mode 120000 (symlink)
index 0000000..fbdd227
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-8
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/EL-9 b/rpm/redhat/14/plxslt/EL-9
new file mode 120000 (symlink)
index 0000000..6ba2c89
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-9
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/F-40 b/rpm/redhat/14/plxslt/F-40
new file mode 120000 (symlink)
index 0000000..5d6b6cf
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-40
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/F-41 b/rpm/redhat/14/plxslt/F-41
new file mode 120000 (symlink)
index 0000000..95a9a7a
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-41
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/F-42 b/rpm/redhat/14/plxslt/F-42
new file mode 120000 (symlink)
index 0000000..f5cbf14
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-42
\ No newline at end of file
diff --git a/rpm/redhat/14/plxslt/SLES-15 b/rpm/redhat/14/plxslt/SLES-15
new file mode 120000 (symlink)
index 0000000..49a450b
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/SLES-15
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/EL-10 b/rpm/redhat/15/plxslt/EL-10
new file mode 120000 (symlink)
index 0000000..18862d7
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-10
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/EL-8 b/rpm/redhat/15/plxslt/EL-8
new file mode 120000 (symlink)
index 0000000..fbdd227
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-8
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/EL-9 b/rpm/redhat/15/plxslt/EL-9
new file mode 120000 (symlink)
index 0000000..6ba2c89
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-9
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/F-40 b/rpm/redhat/15/plxslt/F-40
new file mode 120000 (symlink)
index 0000000..5d6b6cf
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-40
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/F-41 b/rpm/redhat/15/plxslt/F-41
new file mode 120000 (symlink)
index 0000000..95a9a7a
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-41
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/F-42 b/rpm/redhat/15/plxslt/F-42
new file mode 120000 (symlink)
index 0000000..f5cbf14
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-42
\ No newline at end of file
diff --git a/rpm/redhat/15/plxslt/SLES-15 b/rpm/redhat/15/plxslt/SLES-15
new file mode 120000 (symlink)
index 0000000..49a450b
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/SLES-15
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/EL-10 b/rpm/redhat/16/plxslt/EL-10
new file mode 120000 (symlink)
index 0000000..18862d7
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-10
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/EL-8 b/rpm/redhat/16/plxslt/EL-8
new file mode 120000 (symlink)
index 0000000..fbdd227
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-8
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/EL-9 b/rpm/redhat/16/plxslt/EL-9
new file mode 120000 (symlink)
index 0000000..6ba2c89
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-9
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/F-40 b/rpm/redhat/16/plxslt/F-40
new file mode 120000 (symlink)
index 0000000..5d6b6cf
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-40
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/F-41 b/rpm/redhat/16/plxslt/F-41
new file mode 120000 (symlink)
index 0000000..95a9a7a
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-41
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/F-42 b/rpm/redhat/16/plxslt/F-42
new file mode 120000 (symlink)
index 0000000..f5cbf14
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-42
\ No newline at end of file
diff --git a/rpm/redhat/16/plxslt/SLES-15 b/rpm/redhat/16/plxslt/SLES-15
new file mode 120000 (symlink)
index 0000000..49a450b
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/SLES-15
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/EL-10 b/rpm/redhat/17/plxslt/EL-10
new file mode 120000 (symlink)
index 0000000..18862d7
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-10
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/EL-8 b/rpm/redhat/17/plxslt/EL-8
new file mode 120000 (symlink)
index 0000000..fbdd227
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-8
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/EL-9 b/rpm/redhat/17/plxslt/EL-9
new file mode 120000 (symlink)
index 0000000..6ba2c89
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/EL-9
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/F-40 b/rpm/redhat/17/plxslt/F-40
new file mode 120000 (symlink)
index 0000000..5d6b6cf
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-40
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/F-41 b/rpm/redhat/17/plxslt/F-41
new file mode 120000 (symlink)
index 0000000..95a9a7a
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-41
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/F-42 b/rpm/redhat/17/plxslt/F-42
new file mode 120000 (symlink)
index 0000000..f5cbf14
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/F-42
\ No newline at end of file
diff --git a/rpm/redhat/17/plxslt/SLES-15 b/rpm/redhat/17/plxslt/SLES-15
new file mode 120000 (symlink)
index 0000000..49a450b
--- /dev/null
@@ -0,0 +1 @@
+../../main/non-common/plxslt/SLES-15
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/EL-10/Makefile b/rpm/redhat/main/non-common/plxslt/EL-10/Makefile
new file mode 100644 (file)
index 0000000..48df231
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.rhel10
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/EL-10/plxslt.spec b/rpm/redhat/main/non-common/plxslt/EL-10/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/EL-8/Makefile b/rpm/redhat/main/non-common/plxslt/EL-8/Makefile
new file mode 100644 (file)
index 0000000..15b564c
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.rhel8
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/EL-8/plxslt.spec b/rpm/redhat/main/non-common/plxslt/EL-8/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/EL-9/Makefile b/rpm/redhat/main/non-common/plxslt/EL-9/Makefile
new file mode 100644 (file)
index 0000000..c8b6d62
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.rhel9
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/EL-9/plxslt.spec b/rpm/redhat/main/non-common/plxslt/EL-9/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/F-40/Makefile b/rpm/redhat/main/non-common/plxslt/F-40/Makefile
new file mode 100644 (file)
index 0000000..67cb20f
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f40
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/F-40/plxslt.spec b/rpm/redhat/main/non-common/plxslt/F-40/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/F-41/Makefile b/rpm/redhat/main/non-common/plxslt/F-41/Makefile
new file mode 100644 (file)
index 0000000..46ea8fd
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f41
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/F-41/plxslt.spec b/rpm/redhat/main/non-common/plxslt/F-41/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/F-42/Makefile b/rpm/redhat/main/non-common/plxslt/F-42/Makefile
new file mode 100644 (file)
index 0000000..37339cf
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f42
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/F-42/plxslt.spec b/rpm/redhat/main/non-common/plxslt/F-42/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/SLES-15/Makefile b/rpm/redhat/main/non-common/plxslt/SLES-15/Makefile
new file mode 100644 (file)
index 0000000..bd193a7
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=".sles15"
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/SLES-15/plxslt.spec b/rpm/redhat/main/non-common/plxslt/SLES-15/plxslt.spec
new file mode 120000 (symlink)
index 0000000..71af843
--- /dev/null
@@ -0,0 +1 @@
+../main/plxslt.spec
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/plxslt/main/Makefile b/rpm/redhat/main/non-common/plxslt/main/Makefile
new file mode 100644 (file)
index 0000000..1b8959d
--- /dev/null
@@ -0,0 +1,17 @@
+#################################
+# RPM-specific Makefile                #
+# https://yum.postgresql.org   #
+#                              #
+# Devrim Gunduz                        #
+# devrim@gunduz.org            #
+#################################
+
+# Predefined values
+
+ARCH=`rpm --eval "%{_arch}"`
+DIR=`pwd`
+DIST=.f99
+SPECFILE="plxslt.spec"
+
+# Now, include global Makefile
+include ../../../../global/Makefile.global
diff --git a/rpm/redhat/main/non-common/plxslt/main/plxslt.spec b/rpm/redhat/main/non-common/plxslt/main/plxslt.spec
new file mode 100644 (file)
index 0000000..87bd264
--- /dev/null
@@ -0,0 +1,66 @@
+%global sname plxslt
+
+%{!?llvm:%global llvm 1}
+
+Name:          %{sname}_%{pgmajorversion}
+Version:       0.20140221
+Release:       1PGDG%{?dist}
+Summary:       PL/XSLT Procedural Language Handler for PostgreSQL
+License:       GPLv2
+URL:           https://github.com/petere/%{sname}
+Source0:       https://github.com/petere/%{sname}/archive/refs/tags/%{version}.tar.gz
+
+BuildRequires: postgresql%{pgmajorversion}-devel libxslt-devel
+Requires:      postgresql%{pgmajorversion}
+
+%description
+PL/XSLT is a procedural language handler for PostgreSQL that allows
+you to write stored procedures in XSLT.
+
+%if %llvm
+%package llvmjit
+Summary:       Just-in-time compilation support for plxslt
+Requires:      %{name}%{?_isa} = %{version}-%{release}
+%if 0%{?suse_version} >= 1500
+BuildRequires: llvm17-devel clang17-devel
+Requires:      llvm17
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires: llvm-devel >= 17.0 clang-devel >= 17.0
+Requires:      llvm => 17.0
+%endif
+
+%description llvmjit
+This package provides JIT support for plxslt
+%endif
+
+%prep
+%setup -q -n %{sname}-%{version}
+
+%build
+USE_PGXS=1 PATH=%{pginstdir}/bin:$PATH %{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+USE_PGXS=1 PATH=%{pginstdir}/bin:$PATH %{__make} DESTDIR=%{buildroot} install
+%{__mkdir} -p %{buildroot}%{pginstdir}/doc/extension
+%{__mv} README.md %{buildroot}%{pginstdir}/doc/extension/README-%{sname}.md
+%{__rm} -f %{buildroot}%{pginstdir}/doc/extension/README.md
+
+%files
+%defattr(644,root,root,755)
+%doc %{pginstdir}/doc/extension/README-%{sname}.md
+%license COPYING
+%{pginstdir}/lib/%{sname}.so
+%{pginstdir}/share/extension/%{sname}--*.sql
+%{pginstdir}/share/extension/%{sname}.control
+
+%if %llvm
+%files llvmjit
+    %{pginstdir}/lib/bitcode/%{sname}*.bc
+    %{pginstdir}/lib/bitcode/%{sname}/*.bc
+%endif
+
+%changelog
+* Tue Apr 15 2025 Devrim Gündüz <devrim@gunduz.org> 0.20140221-1PGDG
+- Initial packaging for the PostgreSQL RPM repository