SPECS: BloGTK.spec - actually works
patrys
patrys at pld-linux.org
Thu Dec 15 01:17:43 CET 2005
Author: patrys Date: Thu Dec 15 00:17:43 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- actually works
---- Files affected:
SPECS:
BloGTK.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/BloGTK.spec
diff -u SPECS/BloGTK.spec:1.6 SPECS/BloGTK.spec:1.7
--- SPECS/BloGTK.spec:1.6 Thu Dec 15 00:56:04 2005
+++ SPECS/BloGTK.spec Thu Dec 15 01:17:37 2005
@@ -12,6 +12,7 @@
BuildRequires: python
BuildRequires: python-pygtk-gtk >= 2.0
BuildRequires: python-pygtk-glade
+Requires: python-gnome-extras-gtkhtml
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,15 +35,17 @@
%install
rm -rf $RPM_BUILD_ROOT
+sed -i 's/if test -f.*fi//' Makefile
+
%{__make} install \
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
- DATADIR=$RPM_BUILD_ROOT%{_datadir}/%{name} \
- LIBDIR=$RPM_BUILD_ROOT%{_libdir}/%{name} \
+ DATADIR=$RPM_BUILD_ROOT%{_datadir}/blogtk \
+ LIBDIR=$RPM_BUILD_ROOT%{_libdir}/blogtk \
APPLICATIONSDIR=$RPM_BUILD_ROOT%{_desktopdir} \
ICONDIR=$RPM_BUILD_ROOT%{_iconsdir}
rm $RPM_BUILD_ROOT%{_bindir}/BloGTK
-ln -s {%_libdir}/blogtk/BloGTK.py $RPM_BUILD_ROOT%{_bindir}/BloGTK
+ln -s %{_libdir}/blogtk/BloGTK.py $RPM_BUILD_ROOT%{_bindir}/BloGTK
%clean
rm -rf $RPM_BUILD_ROOT
@@ -53,8 +56,9 @@
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_desktopdir}/*
%attr(644,root,root) %{_iconsdir}/*
-%{_datadir}/%{name}
-%{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/blogtk/BloGTK.py
+%{_datadir}/blogtk
+%{_libdir}/blogtk
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -62,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/12/15 00:17:37 patrys
+- actually works
+
Revision 1.6 2005/12/14 23:56:04 patrys
- builds
- should probably compile python scripts too
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/BloGTK.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list