]> git.pld-linux.org Git - packages/dokuwiki-plugin-eventum.git/commitdiff
- update plugin to work with dokuwiki 20080505. issue 19410 dokuwiki-plugin-eventum-20080910-1
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 9 Sep 2008 22:24:02 +0000 (22:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-eventum.spec -> 1.3

dokuwiki-plugin-eventum.spec

index c64d08e1231d8b937d0a8efc9ea2faa38e91eda7..c1cc0d3042df3da2fc3c63e37876b8580beb8f4d 100644 (file)
@@ -2,11 +2,12 @@
 Summary:       DokuWiki Eventum Plugin
 Summary(pl.UTF-8):     Wtyczka Include (dołączania) dla Eventum
 Name:          dokuwiki-plugin-%{plugin}
 Summary:       DokuWiki Eventum Plugin
 Summary(pl.UTF-8):     Wtyczka Include (dołączania) dla Eventum
 Name:          dokuwiki-plugin-%{plugin}
-Version:       20080303
-Release:       0.2
+Version:       20080910
+Release:       1
 License:       GPL v2
 Group:         Applications/WWW
 License:       GPL v2
 Group:         Applications/WWW
-Requires:      dokuwiki >= 20070626
+URL:           https://cvs.delfi.ee/dokuwiki/plugin/eventum/
+Requires:      dokuwiki >= 20080505
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -17,7 +18,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _cvsmodule      dokuwiki/plugin/eventum
 
 %description
 %define                _cvsmodule      dokuwiki/plugin/eventum
 
 %description
-Adds eventum link button to edit toolbar.
+Adds Eventum link button to edit toolbar.
 
 %prep
 %setup -qTc
 
 %prep
 %setup -qTc
@@ -25,6 +26,22 @@ cd ..
 cvs -d %{_cvsroot} co -d %{name}-%{version} %{_cvsmodule}
 cd -
 
 cvs -d %{_cvsroot} co -d %{name}-%{version} %{_cvsmodule}
 cd -
 
+# skip tagging if we checkouted from tag or have debug enabled
+# also make make tag only if we have integer release
+%if %{!?debug:1}%{?debug:0} && %{!?_cvstag:1}%{?_cvstag:0} && %([[ %{release} = *.* ]] && echo 0 || echo 1)
+# do tagging by version
+tag=%{name}-%(echo %{version} | tr . _)-%(echo %{release} | tr . _)
+
+cd %{_specdir}
+if [ $(cvs status -v %{name}.spec | grep -c "$tag ") != 0 ]; then
+       : "Tag $tag already exists"
+       exit 1
+fi
+cvs tag $tag %{name}.spec
+cd -
+cvs tag $tag
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
This page took 0.08819 seconds and 4 git commands to generate.