Author: qboosh Date: Thu Mar 9 19:52:28 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - fixed build
---- Files affected: SPECS: lineak-defaultplugin.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: SPECS/lineak-defaultplugin.spec diff -u SPECS/lineak-defaultplugin.spec:1.4 SPECS/lineak-defaultplugin.spec:1.5 --- SPECS/lineak-defaultplugin.spec:1.4 Tue Mar 7 22:20:05 2006 +++ SPECS/lineak-defaultplugin.spec Thu Mar 9 20:52:23 2006 @@ -6,17 +6,19 @@ Name: lineak-defaultplugin Version: 0.8.4 Release: 0.9 -License: GPL +License: GPL v2+ Group: Applications/System Source0: http://dl.sourceforge.net/lineak/%{packagename}-%{version}.tar.gz # Source0-md5: 336b4fa5aa40b1166c2aa5418740357b Patch0: %{name}-DESTDIR.patch URL: http://lineak.sourceforge.net/ +BuildRequires: XFree86-devel BuildRequires: autoconf >= 2.54 BuildRequires: automake BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: lineakd >= %{version} +BuildRequires: lineakd-devel >= %{version} +BuildRequires: sed >= 4.0 Requires: lineakd >= %{version} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -64,6 +66,10 @@ %setup -q -n %{packagename}-%{version} %patch0 -p1 +# kill plugin dir existence test +sed -i -e 's/test ! -d \$pdir/false/' admin/lineak.m4.in +cat admin/{acinclude.m4.in,lineak.m4.in} > acinclude.m4 + %build %{__libtoolize} %{__aclocal} @@ -71,7 +77,8 @@ %{__autoheader} %{__automake} -%configure +%configure \ + --with-lineak-plugindir=%{_libdir}/lineakd/plugins %{__make} @@ -81,15 +88,18 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/lineakd/plugins/*.la + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS COPYING ChangeLog README TODO media-detect.conf -%{_libdir}/lineakd/plugins/* -%{_sysconfdir}/* -%{_mandir}/man*/* +%doc AUTHORS ChangeLog README TODO media-detect.conf +%attr(755,root,root) %{_libdir}/lineakd/plugins/defaultplugin.so +%attr(755,root,root) %{_libdir}/lineakd/plugins/mediadetectplugin.so +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/media-detect.conf +%{_mandir}/man1/lineak_defaultplugin.1* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -97,6 +107,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2006/03/09 19:52:23 qboosh +- fixed build + Revision 1.4 2006/03/07 21:20:05 qboosh - more desc fixes (including typo introduced by "fix") ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/lineak-defaultplugin.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
