Browse Source

add two new Kwiki plugins

Ralf S. Engelschall 21 years ago
parent
commit
34d518d7b2
2 changed files with 22 additions and 2 deletions
  1. 2 0
      kwiki/kwiki-plugins.txt
  2. 20 2
      kwiki/kwiki.spec

+ 2 - 0
kwiki/kwiki-plugins.txt

@@ -46,6 +46,8 @@ Kwiki::Cache
 #Kwiki::PageTemplate
 #Kwiki::Comments
 #Kwiki::Infobox
+#Kwiki::Backlinks
+#Kwiki::FetchRSS
 
 #   Additional Text Block Formatters
 #   (Kwiki::MindMap requires Kwiki::ConfigBlocks and GraphViz)

+ 20 - 2
kwiki/kwiki.spec

@@ -78,6 +78,8 @@
 %define       V_kwiki_theme_hlb             0.01
 %define       V_kwiki_theme_tabnav          0.01
 %define       V_kwiki_foreignlinkglyphs     0.01
+%define       V_kwiki_backlinks             0.02
+%define       V_kwiki_fetchrss              0.04
 
 #   package information
 Name:         kwiki
@@ -147,6 +149,8 @@ Source50:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-ColumnLayo
 Source51:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-HLB-%{V_kwiki_theme_hlb}.tar.gz
 Source52:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Theme-TabNav-%{V_kwiki_theme_tabnav}.tar.gz
 Source53:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-ForeignLinkGlyphs-%{V_kwiki_foreignlinkglyphs}.tar.gz
+Source54:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Backlinks-%{V_kwiki_backlinks}.tar.gz
+Source55:     http://www.cpan.org/modules/by-module/Kwiki/Kwiki-FetchRSS-%{V_kwiki_fetchrss}.tar.gz
 Source100:    kwiki-apache.conf
 Source101:    kwiki-plugins.txt
 Source102:    kwiki-rules.wiki
@@ -159,8 +163,8 @@ Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20040130, perl, perl-openpkg
 PreReq:       OpenPKG, openpkg >= 20040130, perl, apache
-BuildPreReq:  perl-sys, perl-parse, perl-text, perl-mail, perl-vcs, perl-gd
-PreReq:       perl-sys, perl-parse, perl-text, perl-mail, perl-vcs, perl-gd
+BuildPreReq:  perl-sys, perl-parse, perl-text, perl-mail, perl-vcs, perl-gd, perl-xml
+PreReq:       perl-sys, perl-parse, perl-text, perl-mail, perl-vcs, perl-gd, perl-xml
 AutoReq:      no
 AutoReqProv:  no
 
@@ -440,6 +444,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Kwiki/
         regex     = Kwiki-ForeignLinkGlyphs-(__VER__)\.tar\.gz
     }
+    prog kwiki:Kwiki-Backlinks = {
+        version   = %{V_kwiki_backlinks}
+        url       = http://www.cpan.org/modules/by-module/Kwiki/
+        regex     = Kwiki-Backlinks-(__VER__)\.tar\.gz
+    }
+    prog kwiki:Kwiki-FetchRSS = {
+        version   = %{V_kwiki_fetchrss}
+        url       = http://www.cpan.org/modules/by-module/Kwiki/
+        regex     = Kwiki-FetchRSS-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -496,6 +510,8 @@ AutoReqProv:  no
     %setup -q -T -D -a 51
     %setup -q -T -D -a 52
     %setup -q -T -D -a 53
+    %setup -q -T -D -a 54
+    %setup -q -T -D -a 55
     sed <%{PATCH0} -e 's;@l_prefix@;%{l_prefix};g' | %{l_patch} -p0 -b
 
 %build
@@ -560,6 +576,8 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE51} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE52} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE53} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE54} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE55} configure build install
 
     #   manually install OpenPKG Kwiki theme
     mkdir Kwiki-Theme-OpenPKG