> On Wed, 29 Oct 2008 07:11:43 -0500 (CDT) "Jon Ciesla"
> <limb@xxxxxxxxxxxx> wrote:
>
>>
>> > With a good chunk of help, I now have fedora builds of pymol
>> > available (see bugzilla ID 462251 for the full details). However,
>> > I'd like to have some help with building/testing for EL5, as I'd
>> > like to make it available but don't have an EL box to explicitly
>> > test on.
>>
>>
>> Found it from the review.
>>
>> Build error:
>>
>> + desktop-file-install
>> --dir=/var/tmp/pymol-1.1-10.20081015svn3468-root-jciesla/usr/share/applications
>> /home/jciesla/rpmbuild/SOURCES/pymol.desktop
>> Must specify the vendor namespace for these files with --vendor
>> error: Bad exit status from /var/tmp/rpm-tmp.25017 (%install)
>>
>
> Right, I'd guess the build will be successful with a simple
> --vendor=fedora tag?
>
> Once it successfully builds and installs OK, try opening the program and
> running a few demos (wizard->demo->whatever), rotating/translating
> objects with the mouse - that should be sufficient to ensure proper
> operation.
Apply the attached patch and drop the trailing space from line 1 of
pymol.desktop.
But I can't install, no python-pmw available?
> Thanks for the help,
>
> Tim
>
> --
> CAPS LOCK IS THE CRUISE CONTROL OF AWESOMNESS
>
--
novus ordo absurdum
--- pymol.spec 2008-10-22 12:27:55.000000000 -0500
+++ SPECS/pymol.spec 2008-10-29 14:56:44.000000000 -0500
@@ -86,7 +86,7 @@
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
install -p -m 755 pymol ${RPM_BUILD_ROOT}%{_bindir}/
-desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2}
+desktop-file-install --vendor=fedora --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2}
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
install -p -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
@@ -101,7 +101,7 @@
%{python_sitearch}/pmg_tk/
%{python_sitearch}/pymol/
%{_bindir}/pymol
-%{_datadir}/applications/pymol.desktop
+%{_datadir}/applications/fedora-pymol.desktop
%{_datadir}/pixmaps/pymol-32.xpm
%files wxpython
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list