summaryrefslogtreecommitdiffstats
path: root/debian/_base/libraries
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-23 17:56:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-23 17:56:47 +0100
commit134a5458cf9ae7097571b3ca79a0689b5500f452 (patch)
treef47caa6b1afae1046c7172d0fe024e1e33a54f1d /debian/_base/libraries
parent70e41f5b42a9dcc6788ef6cf023aaf595f4e2b16 (diff)
downloadtde-packaging-134a5458cf9ae7097571b3ca79a0689b5500f452.tar.gz
tde-packaging-134a5458cf9ae7097571b3ca79a0689b5500f452.zip
DEB: Create a .tdepkginfo containing package metadata.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ad7e4e55d198239e75813dc19f8ed3f2e511964c)
Diffstat (limited to 'debian/_base/libraries')
-rw-r--r--debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk9
-rw-r--r--debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk9
5 files changed, 45 insertions, 0 deletions
diff --git a/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
index 7a55130b2..24191b2cd 100644
--- a/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/kipi-plugins/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make
diff --git a/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
index 7a55130b2..24191b2cd 100644
--- a/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkdcraw/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make
diff --git a/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
index 7a55130b2..24191b2cd 100644
--- a/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkexiv2/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make
diff --git a/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
index 7a55130b2..24191b2cd 100644
--- a/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libkipi/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make
diff --git a/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
index 7a55130b2..24191b2cd 100644
--- a/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
+++ b/debian/_base/libraries/libtdeldap/debian/cdbs/debian-tde.mk
@@ -113,6 +113,14 @@ ifndef _cdbs_class_cmake
endif
debian/rules clean
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
common-build-arch:: debian/stamp-man-pages
debian/stamp-man-pages:
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
@@ -212,6 +220,7 @@ ifndef _cdbs_class_cmake
subdirs; \
fi
endif
+ rm -f .tdepkginfo
rm -f debian/stamp-kde-apidox
rm -f debian/stamp-cvs-make