- builds
authorPatryk Zawadzki <patrys@room-303.com>
Wed, 14 Dec 2005 23:56:04 +0000 (23:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- should probably compile python scripts too

Changed files:
    BloGTK.spec -> 1.6

BloGTK.spec

index 683184c..133a0e7 100644 (file)
@@ -35,10 +35,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
-       DATADIR=$RPM_BUILD_ROOT/share/blogtk \
-       LIBDIR=$RPM_BUILD_ROOT/lib/blogtk \
-       APPLICATIONSDIR=$RPM_BUILD_ROOT/share/applications \
-       ICONDIR=$RPM_BUILD_ROOT/share/pixmaps
+       DATADIR=$RPM_BUILD_ROOT%{_datadir}/%{name} \
+       LIBDIR=$RPM_BUILD_ROOT%{_libdir}/%{name} \
+       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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -47,3 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_desktopdir}/*
+%attr(644,root,root) %{_iconsdir}/*
+%{_datadir}/%{name}
+%{_libdir}/%{name}
This page took 0.061015 seconds and 4 git commands to generate.