SPECS: lineak-plugin-xosd.spec - fixed build
qboosh
qboosh at pld-linux.org
Thu Mar 9 21:27:39 CET 2006
Author: qboosh Date: Thu Mar 9 20:27:39 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed build
---- Files affected:
SPECS:
lineak-plugin-xosd.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/lineak-plugin-xosd.spec
diff -u SPECS/lineak-plugin-xosd.spec:1.4 SPECS/lineak-plugin-xosd.spec:1.5
--- SPECS/lineak-plugin-xosd.spec:1.4 Thu Mar 9 21:14:50 2006
+++ SPECS/lineak-plugin-xosd.spec Thu Mar 9 21:27:33 2006
@@ -6,17 +6,18 @@
Name: lineak-plugin-xosd
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: 36f519b21e7c7257bd9af6543f7fd9fc
-Url: http://lineak.sourceforge.net/
+URL: http://lineak.sourceforge.net/
BuildRequires: autoconf >= 2.54
BuildRequires: automake
BuildRequires: libstdc++-devel
BuildRequires: libtool
-BuildRequires: xosd-devel
BuildRequires: lineakd-devel >= %{version}
+BuildRequires: sed >= 4.0
+BuildRequires: xosd-devel
Requires: lineakd >= %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -64,6 +65,10 @@
%prep
%setup -q -n %{packagename}-%{version}
+# 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 +76,8 @@
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ --with-lineak-plugindir=%{_libdir}/lineakd/plugins
%{__make}
@@ -81,14 +87,16 @@
%{__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
-%attr(755,root,root) %{_libdir}/lineakd/plugins/*.so
-%{_mandir}/*/*
+%doc AUTHORS ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/lineakd/plugins/xosdplugin.so
+%{_mandir}/man1/lineak_xosdplugin.1*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -96,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/03/09 20:27:33 qboosh
+- fixed build
+
Revision 1.4 2006/03/09 20:14:50 qboosh
- cleanups/minor fixes
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lineak-plugin-xosd.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list