Fedora Linux Support Community & Resources Center
  #1  
Old 22nd May 2010, 05:52 PM
Valent Offline
Registered User
 
Join Date: May 2004
Age: 36
Posts: 340
linuxfedorafirefox
Worlds easiest .spec file

I have a really exciting announcement to make – mintMenu is almost ready for Community Fedora Remix 13!

I made an RPM package of latest mintMenu 4.9.9, installed it through local yum repository and now I just need to figure out how to swap out GNOME menu for mintMenu through kickstart script.

There are two ways I figured out that this could be done. First one is to setup gnome-panel on one machine and them just save settings (gconftool-2 –dump) to xml config files, second way it to add mintMenu config line by line from kickstart file.

I tried first approach, but got stuck on the issue of how to get files into kickstart ISO build environment. Only way I see is to make RPM packages from files I need, create local repository and then install RPM from there. Is there any other way?

Please help with making possibly worlds easiest .spec file, because it just fails for me every time I tried For mintMenu I just modified older .spec file but not I tried modifying a few but just can’t hack it still.

So if you would like to help please make the most basic .spec file from this tarball. Only thing needed to happen is to have these files saved somewhere in /usr/share and that is it.
Reply With Quote
  #2  
Old 22nd May 2010, 09:36 PM
Dies Offline
Registered User
 
Join Date: Oct 2006
Posts: 4,754
linuxubuntufirefox
Re: Worlds easiest .spec file

Sorry, I don't have a Fedora install right now so I can't really test this...

Code:
Name:           community-remix-base
Version:        1.0
Release:        1%{?dist}
Summary:        community-remix kickstart files and initial settings

Group:          System Environment/Base
License:        GPL+

Source0:        %{name}_%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       coreutils
Requires:       GConf2

BuildArch:      noarch

%description
These scripts do setup tasks.

These are of no use on an already installed system.

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/
tar -xvf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_datadir}/%{name}_%{version}/


%changelog
* Sat May 22 2010
- Initial release
By the way I used community-remix-base since it sounds/looks a little better than "remix13_1.0", but that means you need to rename the folder so it matches -> community-remix-base_1.0. If you don't want to do that just change the name at the top of the spec.
Reply With Quote
Reply

Tags
easiest, file, spec, worlds

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create own rpm - need help with spec file den23513 Using Fedora 2 6th July 2008 08:25 PM
Easiest application to view MPEG-4 file? lesliek Using Fedora 2 12th February 2006 09:04 PM
Viewing the spec file of RPM´s eggsy85 Programming & Packaging 4 4th August 2005 04:36 PM
About the spec file in emacs-21.4-2.src.rpm AlaxMAX Using Fedora 2 19th April 2005 08:41 AM


Current GMT-time: 03:47 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Hovd - Castleford Travel Photos on Instagram - Blyth