summaryrefslogtreecommitdiffstats
path: root/dilos
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 /dilos
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 'dilos')
-rw-r--r--dilos/dependencies/arts/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/dependencies/dbus-1-tqt/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/libraries/libtdeldap/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeaccessibility/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeaddons/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeadmin/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeartwork/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdebase/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdebindings/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeedu/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdegames/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdegraphics/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdelibs/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdemultimedia/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdenetwork/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdepim/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdesdk/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdetoys/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdeutils/debian/cdbs/debian-tde.mk9
-rw-r--r--dilos/tdevelop/debian/cdbs/debian-tde.mk9
20 files changed, 180 insertions, 0 deletions
diff --git a/dilos/dependencies/arts/debian/cdbs/debian-tde.mk b/dilos/dependencies/arts/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/dependencies/arts/debian/cdbs/debian-tde.mk
+++ b/dilos/dependencies/arts/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/dilos/dependencies/dbus-1-tqt/debian/cdbs/debian-tde.mk b/dilos/dependencies/dbus-1-tqt/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/dependencies/dbus-1-tqt/debian/cdbs/debian-tde.mk
+++ b/dilos/dependencies/dbus-1-tqt/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/dilos/libraries/libtdeldap/debian/cdbs/debian-tde.mk b/dilos/libraries/libtdeldap/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/libraries/libtdeldap/debian/cdbs/debian-tde.mk
+++ b/dilos/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
diff --git a/dilos/tdeaccessibility/debian/cdbs/debian-tde.mk b/dilos/tdeaccessibility/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeaccessibility/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeaccessibility/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/dilos/tdeaddons/debian/cdbs/debian-tde.mk b/dilos/tdeaddons/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeaddons/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeaddons/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/dilos/tdeadmin/debian/cdbs/debian-tde.mk b/dilos/tdeadmin/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeadmin/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeadmin/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/dilos/tdeartwork/debian/cdbs/debian-tde.mk b/dilos/tdeartwork/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeartwork/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeartwork/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/dilos/tdebase/debian/cdbs/debian-tde.mk b/dilos/tdebase/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdebase/debian/cdbs/debian-tde.mk
+++ b/dilos/tdebase/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/dilos/tdebindings/debian/cdbs/debian-tde.mk b/dilos/tdebindings/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdebindings/debian/cdbs/debian-tde.mk
+++ b/dilos/tdebindings/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/dilos/tdeedu/debian/cdbs/debian-tde.mk b/dilos/tdeedu/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeedu/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeedu/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/dilos/tdegames/debian/cdbs/debian-tde.mk b/dilos/tdegames/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdegames/debian/cdbs/debian-tde.mk
+++ b/dilos/tdegames/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/dilos/tdegraphics/debian/cdbs/debian-tde.mk b/dilos/tdegraphics/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdegraphics/debian/cdbs/debian-tde.mk
+++ b/dilos/tdegraphics/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/dilos/tdelibs/debian/cdbs/debian-tde.mk b/dilos/tdelibs/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdelibs/debian/cdbs/debian-tde.mk
+++ b/dilos/tdelibs/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/dilos/tdemultimedia/debian/cdbs/debian-tde.mk b/dilos/tdemultimedia/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdemultimedia/debian/cdbs/debian-tde.mk
+++ b/dilos/tdemultimedia/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/dilos/tdenetwork/debian/cdbs/debian-tde.mk b/dilos/tdenetwork/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdenetwork/debian/cdbs/debian-tde.mk
+++ b/dilos/tdenetwork/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/dilos/tdepim/debian/cdbs/debian-tde.mk b/dilos/tdepim/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdepim/debian/cdbs/debian-tde.mk
+++ b/dilos/tdepim/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/dilos/tdesdk/debian/cdbs/debian-tde.mk b/dilos/tdesdk/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdesdk/debian/cdbs/debian-tde.mk
+++ b/dilos/tdesdk/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/dilos/tdetoys/debian/cdbs/debian-tde.mk b/dilos/tdetoys/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdetoys/debian/cdbs/debian-tde.mk
+++ b/dilos/tdetoys/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/dilos/tdeutils/debian/cdbs/debian-tde.mk b/dilos/tdeutils/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdeutils/debian/cdbs/debian-tde.mk
+++ b/dilos/tdeutils/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/dilos/tdevelop/debian/cdbs/debian-tde.mk b/dilos/tdevelop/debian/cdbs/debian-tde.mk
index e5b9a8be3..a989c54bd 100644
--- a/dilos/tdevelop/debian/cdbs/debian-tde.mk
+++ b/dilos/tdevelop/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