[packages/dokuwiki-plugin-pagequery] Up to 20180122
arekm
arekm at pld-linux.org
Thu Jul 18 11:33:27 CEST 2024
commit 5db5a8ba3b7953dbcb815c0cf898435fb1a4b06e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jul 18 10:29:20 2024 +0200
Up to 20180122
dokuwiki-plugin-pagequery.spec | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/dokuwiki-plugin-pagequery.spec b/dokuwiki-plugin-pagequery.spec
index 8029b45..d949005 100644
--- a/dokuwiki-plugin-pagequery.spec
+++ b/dokuwiki-plugin-pagequery.spec
@@ -2,12 +2,12 @@
%define php_min_version 5.3.0
Summary: DokuWiki plugin to search for and list pages, sorted by name, date, creator, etc
Name: dokuwiki-plugin-%{plugin}
-Version: 20120303
-Release: 2
+Version: 20180122
+Release: 1
License: GPL v2
Group: Applications/WWW
Source0: https://github.com/MrBertie/pagequery/tarball/master/%{plugin}-%{version}.tgz
-# Source0-md5: 7e66a821bc95d99fc37c891970a19d3f
+# Source0-md5: 77fc93596880c4b2046e187bc8898536
URL: http://www.dokuwiki.org/plugin:pagequery
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.553
@@ -21,7 +21,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define dokuconf /etc/webapps/dokuwiki
%define dokudir /usr/share/dokuwiki
%define plugindir %{dokudir}/lib/plugins/%{plugin}
-%define find_lang %{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
+%define find_lang %{_prefix}/lib/rpm/dokuwiki-find-lang.sh %{buildroot}
%description
An all-in-one multipurpose navigation plugin to search for and list
@@ -33,17 +33,18 @@ in columns, with preview snippet.
mv *-%{plugin}-*/* .
%undos *.txt
-version=$(awk '/^date/{print $2}' plugin.info.txt)
-if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
- : %%{version} mismatch
- exit 1
-fi
+# using date from latest commit
+#version=$(awk '/^date/{print $2}' plugin.info.txt)
+#if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+# : %%{version} mismatch
+# exit 1
+#fi
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{plugindir}
cp -a . $RPM_BUILD_ROOT%{plugindir}
-rm $RPM_BUILD_ROOT%{plugindir}/readme.txt
+rm $RPM_BUILD_ROOT%{plugindir}/readme.md
# find locales
%find_lang %{name}.lang
@@ -59,9 +60,12 @@ fi
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc readme.txt
+%doc readme.md
%dir %{plugindir}
%{plugindir}/*.txt
%{plugindir}/*.php
%{plugindir}/*.css
+%{plugindir}/*.js
%{plugindir}/images
+%{plugindir}/inc
+%{plugindir}/res
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-pagequery.git/commitdiff/5db5a8ba3b7953dbcb815c0cf898435fb1a4b06e
More information about the pld-cvs-commit
mailing list