Re: adesklets.spec

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

 



On Sun, 2007-06-10 at 09:31 -0400, Jeff Sheltren wrote:
> On Jun 10, 2007, at 9:14 AM, Marc Wiriadisastra wrote:
> >
> > I'll have a play with it and see where I'm stuffing up.
> >
> > Cheers again,
> >
> > Marc
> 
> Hi Marc, sorry, I messed up with the spec I sent you.  The % 
> {perl_sitelib}, etc. macros should *not* have a leading underscore in  
> front of them. :)  Try removing the leading '_' from the perl/python  
> macros.
> 
> -Jeff

Well it all works.

Attached is the updated spec file.  I'll test it a little bit and see if
I can get it to segfault.

I'm not sure if I need to package the additional parts to adesklets
since you can download them using the adesklets_installer.

Cheers,

Marc
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           adesklets
Version:        0.6.1
Release:        1%{?dist}
Summary:        adesklets is a Imlib2 console for the x window system 

Group:          Applications/System
License:        GPL
URL:            http://adesklets.sourceforge.net/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0:		adesklets-0.6.1-configurepython.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libX11-devel xorg-x11-proto-devel imlib2-devel readline-devel fontconfig-devel bison flex python-devel
   

%description	
adesklets provides a clean and simple way for scripted languages to write 
great looking, mildly interactive desktop integrated graphic applets.


%prep
%setup -q
%patch0 -p1

%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README AUTHORS TODO COPYING ChangeLog
%{python_sitelib}/*so
%{python_sitelib}/%{name}/*py
%{python_sitelib}/%{name}/*pyc
%{_bindir}/*
%{perl_sitelib}/*pl
%{perl_sitelib}/*pm
%{perl_archlib}/perllocal.pod
%{perl_sitearch}/auto/%{name}/.packlist
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_datadir}/%{name}/*
%{_datadir}/info/adesklets*

%changelog
* Mon Jun 4 2007 Marc Wiriadisastra<marc at mwiriadi.id.au> - 0.6.1
- New Package
--
Fedora-mentors-list mailing list
Fedora-mentors-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-mentors-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux