packages: dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec - up to 2010...
glen
glen at pld-linux.org
Fri Nov 5 20:16:41 CET 2010
Author: glen Date: Fri Nov 5 19:16:41 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 20101105, icon now in plugin dir
---- Files affected:
packages/dokuwiki-plugin-eventum:
dokuwiki-plugin-eventum.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec
diff -u packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec:1.12 packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec:1.13
--- packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec:1.12 Sat Oct 2 19:36:43 2010
+++ packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec Fri Nov 5 20:16:36 2010
@@ -3,11 +3,11 @@
Summary: DokuWiki Eventum Plugin
Summary(pl.UTF-8): Wtyczka Include (dołączania) dla Eventum
Name: dokuwiki-plugin-%{plugin}
-Version: 20101002
+Version: 20101105
Release: 1
License: GPL v2
-Source0: http://github.com/glensc/dokuwiki-plugin-eventum/zipball/2010-10-02#/%{plugin}.zip
-# Source0-md5: 457f8adca2b0eec4f4c433586210f2d3
+Source0: http://github.com/glensc/%{name}/zipball/master#/%{plugin}.zip
+# Source0-md5: 28fb65873bec4a3456245dc57282edc9
Group: Applications/WWW
URL: http://www.dokuwiki.org/plugin:eventum
BuildRequires: rpmbuild(macros) >= 1.520
@@ -16,6 +16,7 @@
BuildArch: noarch
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}
@@ -29,6 +30,7 @@
%prep
%setup -qc
mv *-%{plugin}-*/* .
+rm *-%{plugin}-*/.gitignore
version=$(awk '/date/{print $2}' plugin.info.txt)
if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
@@ -44,22 +46,23 @@
# find locales
%find_lang %{name}.lang
-# link issue -> eventum icon
-install -d $RPM_BUILD_ROOT%{dokudir}/lib/images/interwiki
-ln -s eventum.gif $RPM_BUILD_ROOT%{dokudir}/lib/images/interwiki/issue.gif
-
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+# force js/css cache refresh
+if [ -f %{dokuconf}/local.php ]; then
+ touch %{dokuconf}/local.php
+fi
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%dir %{plugindir}
%{plugindir}/*.php
%{plugindir}/*.txt
+%{plugindir}/*.css
%{plugindir}/conf
-
-# [[issue>XXX]] icon
-%{dokudir}/lib/images/interwiki/issue.gif
+%{plugindir}/images
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -67,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2010/11/05 19:16:36 glen
+- up to 20101105, icon now in plugin dir
+
Revision 1.12 2010/10/02 17:36:43 glen
- fix addresses
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-plugin-eventum/dokuwiki-plugin-eventum.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list