tagging: Unify the clickable tag link generation.
[matthijs/upstream/blosxom-plugins.git] / blosxom-plugins-medium.spec
1
2 Name: blosxom-plugins-medium
3 Summary: Plugins for blosxom, the lightweight blogging application
4 Version: 2.0.0rc1
5 Release: 1
6 Source0: http://downloads.sourceforge.net/blosxom/%{name}-%{version}.tar.gz
7 License: MIT/GPL/Perl
8 URL: http://blosxom.sourceforge.net
9 Group: Applications/Internet
10 Prefix: /usr/share/blosxom/plugins
11 BuildRoot: %{_tmppath}/%{name}-%{version}
12 BuildArch: noarch
13 Conflicts: blosxom-plugins-small, blosxom-plugins-large
14 Provides: blosxom-plugins
15
16 %description
17 This package contains a set of plugins for blosxom, the lightweight
18 blogging application.
19
20 %prep
21 %setup 
22
23 %build
24
25 %install
26 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
27
28 mkdir -p %{buildroot}/usr/share/blosxom/plugins/scripts
29
30 install -m0755 scripts/* %{buildroot}/usr/share/blosxom/plugins/scripts
31 rm -rf scripts
32 install -m0644 * %{buildroot}/usr/share/blosxom/plugins
33
34 rm -f %{buildroot}/usr/share/blosxom/plugins/*README
35 rm -f %{buildroot}/usr/share/blosxom/plugins/*LICEN?E
36 rm -f %{buildroot}/usr/share/blosxom/plugins/*.spec
37
38 #install activate_blosxom_ipc %{buildroot}/usr/share/blosxom/plugins
39
40 %post
41 # Activate Blosxom::Include on plugins if installed
42 perl -MBlosxom::Include -e1 2>/dev/null \
43   && /usr/share/blosxom/plugins/scripts/activate-blosxom-include
44
45 %clean
46 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
47
48 %files
49 %defattr(-,root,root)
50 /usr/share/blosxom/plugins/*
51 /usr/share/blosxom/plugins/scripts/*
52 %doc README
53 %doc *.README
54 %doc *.LICENCE 
55
56 %changelog
57 * Tue Sep 18 2007 Gavin Carr <gavin@openfusion.com.au> 2.0.0-1
58 - Rename to blosxom-plugins-medium.
59 - Move content to /usr/share/blosxom/plugins.
60
61 * Fri Aug 24 2007 Gavin Carr <gavin@openfusion.com.au> 2.0.0-0
62 - Initial spec file.
63