SPECS: wendzelnntpd.spec - qui part (not finished as can't find pkg providi...

glen glen at pld-linux.org
Mon Oct 6 16:44:13 CEST 2008


Author: glen                         Date: Mon Oct  6 14:44:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- qui part (not finished as can't find pkg providing headers)

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

---- Diffs:

================================================================
Index: SPECS/wendzelnntpd.spec
diff -u SPECS/wendzelnntpd.spec:1.2 SPECS/wendzelnntpd.spec:1.3
--- SPECS/wendzelnntpd.spec:1.2	Mon Oct  6 16:32:59 2008
+++ SPECS/wendzelnntpd.spec	Mon Oct  6 16:44:08 2008
@@ -3,6 +3,11 @@
 # - news uid
 # - initscript
 # - sane build system (patch makefile, cflags, cc, destdir)
+# - finish and subpackage gui
+#
+# Conditional build:
+%bcond_with	gui		# qt gui
+#
 Summary:	Tiny, easy to configure NNTP server for Unix
 Name:		wendzelnntpd
 Version:	1.4.0
@@ -15,6 +20,10 @@
 BuildRequires:	bison
 BuildRequires:	sed >= 4.0
 BuildRequires:	sqlite3-devel
+%if %{with gui}
+BuildRequires:	qt4-build >= 4.3.3-3
+BuildRequires:	qt4-qmake >= 4.3.3-3
+%endif
 Requires(post,preun):	/sbin/chkconfig
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +50,13 @@
 %{__make} \
 	CC="%{__cc}"
 
+%if %{with gui}
+cd gui/src
+qmake-qt4 src.pro
+%{__make}
+
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/10/06 14:44:08  glen
+- qui part (not finished as can't find pkg providing headers)
+
 Revision 1.2  2008/10/06 14:32:59  glen
 - fix url
 
================================================================

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



More information about the pld-cvs-commit mailing list