Author: glen Date: Mon Apr 26 17:31:02 2010 GMT Module: packages Tag: HEAD ---- Log message: - build with cmake directly, now builds with our cflags/cc - bconds for features from Makefile.options.defaults (with same way turned as in there)
---- Files affected: packages/minbif: minbif.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: packages/minbif/minbif.spec diff -u packages/minbif/minbif.spec:1.2 packages/minbif/minbif.spec:1.3 --- packages/minbif/minbif.spec:1.2 Mon Apr 26 19:18:09 2010 +++ packages/minbif/minbif.spec Mon Apr 26 19:30:56 2010 @@ -1,8 +1,17 @@ # $Revision$, $Date$ +# +# Conditional build: +%bcond_without imlib # Compile minbif without imlib +%bcond_without caca # Compile with the libcaca support +%bcond_with video # Compile with the video support +%bcond_with purple # Compile libpurple plugins +%bcond_with pam # Compile with the pam support +%bcond_with tls # Compile with the tls support + Summary: Minbif - IRC instant messaging gateway Name: minbif Version: 1.0.2 -Release: 0.1 +Release: 0.2 License: GPL v2 Group: Applications/Communications Source0: http://symlink.me/attachments/download/45/%{name}-%{version}.tar.gz @@ -26,23 +35,38 @@ %patch0 -p1 %build -%{__make} \ - PREFIX=%{_prefix} \ - MAN_PREFIX=%{_mandir}/man8 \ - CONF_PREFIX=%{_sysconfdir}/%{name} \ - DOC_PREFIX=%{_docdir}/%{name} +install -d build +cd build +%cmake .. \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DMAN_PREFIX=%{_mandir}/man8 \ + -DCONF_PREFIX=%{_sysconfdir}/%{name} \ + -DDOC_PREFIX=%{_docdir}/%{name} \ + -DCMAKE_VERBOSE_MAKEFILE=1 \ + -DENABLE_IMLIB=%{!?with_imlib:OFF}%{?with_imlib:ON} \ + -DENABLE_CACA=%{!?with_caca:OFF}%{?with_caca:ON} \ + -DENABLE_VIDEO=%{!?with_video:OFF}%{?with_video:ON} \ + -DENABLE_PLUGIN=%{!?with_purple:OFF}%{?with_purple:ON} \ + -DENABLE_PAM=%{!?with_pam:OFF}%{!?with_pam:ON} \ + -DENABLE_TLS=%{!?with_tls:OFF}%{?with_tls:ON} \ + -DDEBUG=%{!?debug:OFF}%{?debug:ON} + +%{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT%{_docdir}/minbif + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README +%doc doc/minbif.xinetd %attr(755,root,root) %{_bindir}/minbif %dir %{_sysconfdir}/minbif %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/minbif/minbif.conf @@ -55,6 +79,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2010/04/26 17:30:56 glen +- build with cmake directly, now builds with our cflags/cc +- bconds for features from Makefile.options.defaults (with same way turned as in there) + Revision 1.2 2010/04/26 17:18:09 glen - add gcc fix, install files, setup prefix, etc ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/minbif/minbif.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
