]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki.spec
(no commit message)
[git.ikiwiki.info.git] / ikiwiki.spec
index 4805cc36103038cbf19a3adf4addc235d4adf65c..08b411051f1bd5b1d3e3d9c77f598d910ed36781 100644 (file)
@@ -1,12 +1,13 @@
 Name:           ikiwiki
 Name:           ikiwiki
-Version: 3.20091024
+Version: 3.20140125
 Release:        1%{?dist}
 Summary:        A wiki compiler
 
 Group:          Applications/Internet
 License:        GPLv2+
 URL:            http://ikiwiki.info/
 Release:        1%{?dist}
 Summary:        A wiki compiler
 
 Group:          Applications/Internet
 License:        GPLv2+
 URL:            http://ikiwiki.info/
-Patch0:         ikiwiki-3.00-libexecdir.patch
+Source0:       http://ftp.debian.org/debian/pool/main/i/%{name}/%{name}_%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  perl(Text::Markdown)
 BuildArch:      noarch
 
 BuildRequires:  perl(Text::Markdown)
@@ -19,6 +20,7 @@ BuildRequires:  perl(HTML::Template)
 BuildRequires:  perl(CGI::FormBuilder)
 BuildRequires:  perl(CGI::Session)
 BuildRequires:  perl(File::MimeInfo)
 BuildRequires:  perl(CGI::FormBuilder)
 BuildRequires:  perl(CGI::Session)
 BuildRequires:  perl(File::MimeInfo)
+BuildRequires:  perl(YAML::XS)
 BuildRequires:  gettext
 BuildRequires:  po4a
 
 BuildRequires:  gettext
 BuildRequires:  po4a
 
@@ -30,7 +32,6 @@ Requires:       perl(HTML::Scrubber)
 Requires:       perl(XML::Simple)
 Requires:       perl(CGI::FormBuilder)
 Requires:       perl(CGI::Session)
 Requires:       perl(XML::Simple)
 Requires:       perl(CGI::FormBuilder)
 Requires:       perl(CGI::Session)
-Requires:       perl(Digest::SHA1)
 
 Requires:       python-docutils
 
 
 Requires:       python-docutils
 
@@ -47,7 +48,6 @@ array of plugins.
 
 %prep
 %setup0 -q -n %{name}
 
 %prep
 %setup0 -q -n %{name}
-%patch0 -p1 -b .libexecdir
 
 # Filter unwanted Provides:
 %{__cat} << \EOF > %{name}-prov
 
 # Filter unwanted Provides:
 %{__cat} << \EOF > %{name}-prov
@@ -88,18 +88,6 @@ EOF
 %{__make} pure_install DESTDIR=%{buildroot} W3M_CGI_BIN=%{cgi_bin}
 %find_lang %{name}
 
 %{__make} pure_install DESTDIR=%{buildroot} W3M_CGI_BIN=%{cgi_bin}
 %find_lang %{name}
 
-# move external plugins
-%{__mkdir_p} %{buildroot}%{_libexecdir}/ikiwiki/plugins
-%{__mv} %{buildroot}%{_prefix}/lib/ikiwiki/plugins/* \
-        %{buildroot}%{_libexecdir}/ikiwiki/plugins
-
-# remove shebang
-%{__sed} -e '1{/^#!/d}' -i \
-        %{buildroot}%{_sysconfdir}/ikiwiki/auto.setup \
-        %{buildroot}%{_sysconfdir}/ikiwiki/auto-blog.setup \
-        %{buildroot}%{_libexecdir}/ikiwiki/plugins/proxy.py
-
-
 %clean
 %{__rm} -rf %{buildroot}
 
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -117,7 +105,7 @@ EOF
 %exclude %{perl_vendorarch}
 %{perl_vendorlib}/IkiWiki*
 %exclude %{perl_vendorlib}/IkiWiki*/Plugin/skeleton.pm.example
 %exclude %{perl_vendorarch}
 %{perl_vendorlib}/IkiWiki*
 %exclude %{perl_vendorlib}/IkiWiki*/Plugin/skeleton.pm.example
-%{_libexecdir}/ikiwiki
+%{_libdir}/ikiwiki
 %doc README debian/changelog debian/NEWS html
 %doc IkiWiki/Plugin/skeleton.pm.example
 
 %doc README debian/changelog debian/NEWS html
 %doc IkiWiki/Plugin/skeleton.pm.example