- new
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 11 Mar 2009 22:56:00 +0000 (22:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-lightbox.spec -> 1.1

dokuwiki-plugin-lightbox.spec [new file with mode: 0644]

diff --git a/dokuwiki-plugin-lightbox.spec b/dokuwiki-plugin-lightbox.spec
new file mode 100644 (file)
index 0000000..655b8a6
--- /dev/null
@@ -0,0 +1,46 @@
+%define                plugin          lightbox
+Summary:       DokuWiki Light Box v2 plugin
+Summary(pl.UTF-8):     Wtyczka lightboxv2 dla DokuWiki
+Name:          dokuwiki-plugin-%{plugin}
+Version:       20080808
+Release:       1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://laurent.beneytout.free.fr/lib/exe/fetch.php?media=projects:lightbox.zip
+# Source0-md5: 1f28817f046b94c730f4a25a7c7b676e
+URL:           http://wiki.splitbrain.org/plugin:lightboxv2
+Requires:      dokuwiki >= 20061106
+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}
+
+%description
+Plugin to integrate LightBox v2 javascript animation in DokuWiki.
+
+%prep
+%setup -q -n %{plugin}
+rm -f images/Thumbs.db
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+# force css cache refresh
+if [ -f %{dokuconf}/local.php ]; then
+       touch %{dokuconf}/local.php
+fi
+
+%files
+%defattr(644,root,root,755)
+%dir %{plugindir}
+%{plugindir}/*.css
+%{plugindir}/*.js
+%{plugindir}/images
This page took 0.059381 seconds and 4 git commands to generate.