SPECS: switchboard.spec - builds now

glen glen at pld-linux.org
Tue Oct 7 14:08:17 CEST 2008


Author: glen                         Date: Tue Oct  7 12:08:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds now

---- Files affected:
SPECS:
   switchboard.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/switchboard.spec
diff -u SPECS/switchboard.spec:1.2 SPECS/switchboard.spec:1.3
--- SPECS/switchboard.spec:1.2	Tue Oct  7 13:50:53 2008
+++ SPECS/switchboard.spec	Tue Oct  7 14:08:12 2008
@@ -8,6 +8,8 @@
 Source0:	https://confluence.toolserver.org/download/attachments/5931011/%{name}-%{version}.tar.gz?version=1
 # Source0-md5:	4cb514bc04c6913d309cbb330362574d
 Patch0:		%{name}-overquote.patch
+Patch1:		%{name}-boost.patch
+Patch2:		%{name}-make.patch
 URL:		https://confluence.toolserver.org/display/switchboard/Home
 BuildRequires:	boost-call_traits-devel
 BuildRequires:	boost-devel
@@ -29,6 +31,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 # not autoconf configure
@@ -61,14 +65,34 @@
 install -d $RPM_BUILD_ROOT
 
 %{__make} install \
+	MANDIR=%{_mandir} \
+	BINDIR=%{_sbindir} \
+	ROOTUSER=%(id -un) \
+	ROOTGROUP=%(id -un) \
+	SB_GROUP=%(id -gn) \
 	DESTDIR=$RPM_BUILD_ROOT
 
+mv $RPM_BUILD_ROOT%{_sysconfdir}/switchboard.conf{.example,}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%doc README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/switchboard.conf
+%attr(755,root,root) %{_sbindir}/switchboard
+%attr(755,root,root) %{_sbindir}/switchstats
+
+%dir %{_libdir}/switchboard
+%attr(755,root,root) %{_libdir}/switchboard/switchboard-bin
+%attr(4710,root,root) %{_libdir}/switchboard/swexec
+%attr(4710,root,root) %{_libdir}/switchboard/swkill
+
+%{_datadir}/switchboard/errors/general.html
+%{_mandir}/man1/switchstats.1*
+%{_mandir}/man4/switchboard.conf.4*
+%{_mandir}/man8/switchboard.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -76,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/10/07 12:08:12  glen
+- builds now
+
 Revision 1.2  2008/10/07 11:50:53  glen
 - boost deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/switchboard.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list