Name: gadmin-httpd Version: 0.1.4 Release: 2%{?dist} Summary: Apache GUI administration License: GPLv3 URL: http://www.gadmintools.org Source0: http://mange.dynalias.org/linux/%{name}/%{name}-%{version}.tar.gz Requires: gadmin-httpd = %{version}-%{release} BuildRequires: httpd BuildRequires: gtk2-devel BuildRequires: desktop-file-utils %description An easy to use GTK+ frontend to the Apache httpd server. Features: multi-vhosting, modules, addon management, user management access/error log view and manual edits. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} desktop-file-install \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications/ \ desktop/%{name}.desktop #Make install doesn't install (pam.d, security) conf files cp -R etc/* %{buildroot}/%{_sysconfdir}/ %files %{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}/%{name}.png %doc %{_datadir}/doc/%{name}/AUTHORS %doc %{_datadir}/doc/%{name}/COPYING %doc %{_datadir}/doc/%{name}/ChangeLog %doc %{_datadir}/doc/%{name}/README %{_datadir}/applications/%{name}.desktop %{_sbindir}/%{name} %config(noreplace) %{_sysconfdir}/pam.d/%{name} %config(noreplace) %{_sysconfdir}/security/console.apps/%{name} %changelog * Fri Jul 22 2011 Nathan Owe - 0.1.4-2 - Added docs to file list and added desktop_file_install * Thu Jul 21 2011 Nathan Owe - 0.1.4-1 - Initial Package