LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File apache2-icons-opensuse.spec of Package apache2-icons-opensuse (Project openSUSE:infrastructure:devel)

#
# spec file for package apache2-icons-opensuse
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

Name:           apache2-icons-opensuse
Version:        1
Release:        1
Summary:        Special openSUSE icons for Apache 2 
License:        LGPLv3
Group:          Productivity/Networking/Web/Servers
Source:         %{name}.tar.bz2 
Url:            http://www.opensuse.org/
BuildArch:      noarch 
BuildRequires:  apache2-devel
Requires:       apache2 
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define         apache_sysconfdir %(/usr/sbin/apxs2 -q SYSCONFDIR)

%description  
Special icons for the Apache 2 webserver instances of openSUSE.

%prep  
%setup -q -n %name 

%build  

%install  
mkdir -p $RPM_BUILD_ROOT%{_datadir}/apache2/openSUSE-icons  
install -m 0644 *.png $RPM_BUILD_ROOT%{_datadir}/apache2/openSUSE-icons/
install -m 0644 *.gif $RPM_BUILD_ROOT%{_datadir}/apache2/openSUSE-icons/
install -m 0644 *.ico $RPM_BUILD_ROOT%{_datadir}/apache2/openSUSE-icons/
mkdir -p $RPM_BUILD_ROOT%{apache_sysconfdir}
cp mod_autoindex-defaults-openSUSE.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-openSUSE.conf
%{_datadir}/apache2 
%dir %{_datadir}/apache2/openSUSE-icons  

%changelog