rpms/gdhcpd/devel consolehelper_fix.patch, NONE, 1.1 gdhcpd.desktop, NONE, 1.1 gdhcpd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Adel Gadllah (drago01)
fedora-extras-commits at redhat.com
Sat Jul 28 07:30:08 UTC 2007
Author: drago01
Update of /cvs/pkgs/rpms/gdhcpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11815/devel
Modified Files:
.cvsignore sources
Added Files:
consolehelper_fix.patch gdhcpd.desktop gdhcpd.spec
Log Message:
Initial Import
consolehelper_fix.patch:
--- NEW FILE consolehelper_fix.patch ---
diff -upNr gdhcpd-0.3.2.orign/Makefile.in gdhcpd-0.3.2/Makefile.in
--- gdhcpd-0.3.2.orign/Makefile.in 2007-06-16 23:28:17.000000000 +0200
+++ gdhcpd-0.3.2/Makefile.in 2007-07-25 11:02:24.000000000 +0200
@@ -623,15 +623,21 @@ install-data-local:
if test -d $(datadir)/pixmaps; then \
cp pixmaps/gdhcpd.png $(DESTDIR)$(datadir)/pixmaps/; \
fi;
+
if test -f $(DESTDIR)$(bindir)/consolehelper && test ! -f $(DESTDIR)$(bindir)/gdhcpd; then \
ln -s $(DESTDIR)$(bindir)/consolehelper $(DESTDIR)$(bindir)/gdhcpd; \
fi;
+
+ mkdir -p $(DESTDIR)$(sysconfdir)/pam.d
if test -d $(DESTDIR)$(sysconfdir)/pam.d; then \
cp etc/pam.d/gdhcpd $(DESTDIR)$(sysconfdir)/pam.d/; \
fi;
+
+ mkdir -p $(DESTDIR)$(sysconfdir)/security/console.apps
if test -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \
cp etc/security/console.apps/gdhcpd $(DESTDIR)$(sysconfdir)/security/console.apps/; \
fi;
+
if test -d $(DESTDIR)$(datadir)/applications; then \
cp desktop/net-gdhcpd.desktop $(DESTDIR)$(datadir)/applications/; \
fi ;
--- NEW FILE gdhcpd.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=DHCPD
GenericName=DHCPD Configuration
Comment=Administration tool for DHCPD
Exec=gdhcpd
Icon=gdhcpd.png
Terminal=false
Type=Application
Categories=System;X-Red-Hat-ServerConfig;Application;
--- NEW FILE gdhcpd.spec ---
Name: gdhcpd
Version: 0.3.2
Release: 4%{?dist}
Summary: GTK+ administration tool for ISC DHCPD
Group: Applications/System
License: GPL
URL: http://www.gadmintools.org
Source0: http://mange.dynalias.org/linux/gdhcpd/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Patch0: consolehelper_fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext-devel
Requires: dhcp >= 3.0.3
Requires: usermode >= 1.36
%description
GDHCPD is an easy to use GTK+ administration tool for ISC DHCPD.
It handles dynamic scopes, hosts, ranges and settings
%prep
%setup -q
%patch0 -p1 -b .consolehelper
%build
%configure --localstatedir=%{_localstatedir}/lib/dhcp
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
CFLAGS=$RPM_OPT_FLAGS make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_docdir}/gdhcpd
mkdir -p ${RPM_BUILD_ROOT}/%{_bindir}
ln -s consolehelper ${RPM_BUILD_ROOT}/%{_bindir}/gdhcpd
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-Red-Hat-Base \
--add-category X-Red-Hat-ServerConfig \
%{SOURCE1}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/gdhcpd
%{_sbindir}/gdhcpd
%{_datadir}/applications/fedora-gdhcpd.desktop
%{_datadir}/pixmaps/gdhcpd.png
%{_datadir}/pixmaps/gdhcpd/
%config(noreplace) %{_sysconfdir}/pam.d/gdhcpd
%config(noreplace) %{_sysconfdir}/security/console.apps/gdhcpd
%doc COPYING AUTHORS ChangeLog
%changelog
* Thu Jul 25 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.3.2-4
- Fix ownership
* Thu Jul 25 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.3.2-3
- More specfile cleanups
* Thu Jul 25 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.3.2-2
- Specfile cleanup
* Wed Jul 25 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.3.2-1
- Initital Build
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gdhcpd/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Jul 2007 15:55:01 -0000 1.1
+++ .cvsignore 28 Jul 2007 07:29:35 -0000 1.2
@@ -0,0 +1 @@
+gdhcpd-0.3.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gdhcpd/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Jul 2007 15:55:01 -0000 1.1
+++ sources 28 Jul 2007 07:29:35 -0000 1.2
@@ -0,0 +1 @@
+a59be9812f7cf39c1401aa68b601ca68 gdhcpd-0.3.2.tar.gz
More information about the scm-commits
mailing list