Re: rpmbuild error in F22 (looking for desktop file)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thank you for your response!


> > I am trying to make a rpm out of the following application:
> > 
> > https://github.com/apandada1/typhoon
> > 
> > but my spec file, created from looking at the batti.spec file looks
> > for a desktop file, rather than a desktop.in file. What I don't
> > understand is where it figures out how to look for a desktop file.
> > Any suggestions/help? I don't have a lot of experience with rpmbuild
> > and spec files.
> > 
> > Here is the spec file:
> > 
> > $ fpaste typhoon.spec
> > Uploading (1.4KiB)...
> > http://ur1.ca/n4lhh -> http://paste.fedoraproject.org/244462/14369268
> > 
> > And here is the error that I am getting:
> > 
> > $rpmbuild -bb typhoon.spec
> 
> > -> /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/doc/typhoon
> > running install_egg_info
> > Writing /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info
> > ("ERROR: Can't find",
> > '/home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/share/applications/typhoon.desktop')
> > error: Bad exit status from /var/tmp/rpm-tmp.X1IL6J (%install)
> > 
> > 
> > RPM build errors:
> >     Bad exit status from /var/tmp/rpm-tmp.X1IL6J (%install)
> 
> Someone more knowledgeable will probably offer better advice.  But
> here's my take.  If you look in the files section of the spec file, you
> find the egg.info file listed.  And rpmbuild is obviously looking for
> the files listed in there.  Go to the BUILD directory, and look inside
> that file to see what it wants.

So, from what I understood from your suggestions, I should look at:

/home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info

So, that is what I did but I can not see what the files are that it wants. (I still can not see the desktop stuff.)

$ more typhoon-0.8.94-py2.7.egg-info 
Metadata-Version: 1.1
Name: typhoon
Version: 0.8.94
Summary: Quickly check the weather with this beautiful application
Home-page: https://launchpad.net/typhoon
Author: Archisman Panigrahi
Author-email: apandada1@xxxxxxxxx
License: GPL-3
Description: Typhoon is a free and open source weather application. It is contin
uation of discontinued Stormcloud 1.1 ,however with some changes. It is and alwa
ys will be free.                                                                
                                                                                
  PPA: https://launchpad.net/~apandada1/+archive/typhoon/                       
                                                                                
       Homepage: http://gettyphoon.tk/
Platform: UNKNOWN
Requires: gi.repository.GObject
Requires: gi.repository.Gio
Requires: gi.repository.Gtk
Requires: gi.repository.Unity
Requires: gi.repository.WebKit
Provides: typhoon
Provides: typhoon_lib

Where is any mention to desktop? 
 
> You can then put shell commands in the spec file to create dummy files
> where they are expected using something like touch.  Or you can patch
> the source to create them with real information, from a currently
> running version, for example. That will allow rpmbuild to find the files
> it wants, and create the rpms.

I guess it might be helpful to know the difference between a desktop and a desktop.in file. Could someone please tell me about this difference?

Many thanks and best wishes,
Ranjan

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux