projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Give the actual interpolation function a name.
[matthijs/upstream/blosxom-plugins.git]
/
blosxom-plugins-medium.spec
diff --git
a/blosxom-plugins-medium.spec
b/blosxom-plugins-medium.spec
index 09c02b05cf049d94d681cdf8a4c486485a007780..c52ffe4560125aa22976f0eda8f9dc1a436a9419 100644
(file)
--- a/
blosxom-plugins-medium.spec
+++ b/
blosxom-plugins-medium.spec
@@
-1,7
+1,7
@@
Name: blosxom-plugins-medium
Summary: Plugins for blosxom, the lightweight blogging application
Name: blosxom-plugins-medium
Summary: Plugins for blosxom, the lightweight blogging application
-Version: 2.0.0
+Version: 2.0.0
rc1
Release: 1
Source0: http://downloads.sourceforge.net/blosxom/%{name}-%{version}.tar.gz
License: MIT/GPL/Perl
Release: 1
Source0: http://downloads.sourceforge.net/blosxom/%{name}-%{version}.tar.gz
License: MIT/GPL/Perl
@@
-10,7
+10,8
@@
Group: Applications/Internet
Prefix: /usr/share/blosxom/plugins
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildArch: noarch
Prefix: /usr/share/blosxom/plugins
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildArch: noarch
-Conflicts: blosxom-plugins-large
+Conflicts: blosxom-plugins-small, blosxom-plugins-large
+Provides: blosxom-plugins
%description
This package contains a set of plugins for blosxom, the lightweight
%description
This package contains a set of plugins for blosxom, the lightweight
@@
-24,8
+25,10
@@
blogging application.
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/blosxom/plugins
+mkdir -p %{buildroot}/usr/share/blosxom/plugins
/scripts
+install -m0755 scripts/* %{buildroot}/usr/share/blosxom/plugins/scripts
+rm -rf scripts
install -m0644 * %{buildroot}/usr/share/blosxom/plugins
rm -f %{buildroot}/usr/share/blosxom/plugins/*README
install -m0644 * %{buildroot}/usr/share/blosxom/plugins
rm -f %{buildroot}/usr/share/blosxom/plugins/*README
@@
-35,7
+38,9
@@
rm -f %{buildroot}/usr/share/blosxom/plugins/*.spec
#install activate_blosxom_ipc %{buildroot}/usr/share/blosxom/plugins
%post
#install activate_blosxom_ipc %{buildroot}/usr/share/blosxom/plugins
%post
-#/usr/share/blosxom/plugins/activate_blosxom_ipc
+# Activate Blosxom::Include on plugins if installed
+perl -MBlosxom::Include -e1 2>/dev/null \
+ && /usr/share/blosxom/plugins/scripts/activate-blosxom-include
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
@@
-43,9
+48,10
@@
rm -f %{buildroot}/usr/share/blosxom/plugins/*.spec
%files
%defattr(-,root,root)
/usr/share/blosxom/plugins/*
%files
%defattr(-,root,root)
/usr/share/blosxom/plugins/*
+/usr/share/blosxom/plugins/scripts/*
%doc README
%doc *.README
%doc README
%doc *.README
-
#
%doc *.LICENCE
+%doc *.LICENCE
%changelog
* Tue Sep 18 2007 Gavin Carr <gavin@openfusion.com.au> 2.0.0-1
%changelog
* Tue Sep 18 2007 Gavin Carr <gavin@openfusion.com.au> 2.0.0-1