File apache2-icons-oxygen.spec of Package apache2-icons-oxygen
#
# spec file for package apache2-icons-oxygen
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: apache2-icons-oxygen
Version: 0
Release: 0.1
Summary: Oxygen icons for Apache 2
License: LGPL
Group: Amusement/Toys/Graphics
Source: %{name}.tar.gz
BuildArch: noarch
BuildRequires: apache2-devel
Requires: apache2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define apache_sysconfdir %(/usr/sbin/apxs2 -q SYSCONFDIR)
%description
KDE/Oxygen icons for Apache 2.
Authors:
--------
The KDE Team <kde@kde.org>
%prep
%setup -q -n %name
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apache2/oxygen-icons
install -m 0644 *.png $RPM_BUILD_ROOT%{_datadir}/apache2/oxygen-icons
install -m 0644 *.gif $RPM_BUILD_ROOT%{_datadir}/apache2/oxygen-icons
install -m 0644 *.ico $RPM_BUILD_ROOT%{_datadir}/apache2/oxygen-icons
mkdir -p $RPM_BUILD_ROOT%{apache_sysconfdir}
cp mod_autoindex-defaults-oxygen.conf $RPM_BUILD_ROOT%{apache_sysconfdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README.SuSE
%dir %{apache_sysconfdir}
%config(noreplace) %{apache_sysconfdir}/mod_autoindex-defaults-oxygen.conf
%{_datadir}/apache2
%dir %{_datadir}/apache2/oxygen-icons
%changelog