- actually works
authorPatryk Zawadzki <patrys@room-303.com>
Thu, 15 Dec 2005 00:17:37 +0000 (00:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    BloGTK.spec -> 1.7

BloGTK.spec

index 133a0e7..9bd9da4 100644 (file)
@@ -11,6 +11,7 @@ URL:          http://blogtk.sourceforge.net/
 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
@@ -33,15 +34,17 @@ u
 %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
@@ -52,5 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.030593 seconds and 4 git commands to generate.