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

[Fedora-mentors-list] adesklets.spec



Does someone want to have a look over this spec file to see where I went
wrong.

Also how do I know whether a devel package is required to be created or
not?

I've noticed a few people asking about adesklets so I thought I would
try my hand in packaging it.  I haven't created a desktop file or
anything like that I'm more concerned with the basic install.

Regards,

Marc
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/index.html
Source0:        %{name}-%{version}.tar.bz2
Patch0:			configurepython.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python gcc libX11-devel perl xorg-x11-proto-devel imlib2-devel readline-devel fontconfig-devel bison flex sed python-devel
Requires:       perl python sed

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


%prep
%setup -q
%patch -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
%{_bindir}/adesklets
%{_bindir}/adesklets_checkin
%{_bindir}/adesklets_installer
%{_bindir}/adesklets_submit
%{_libdir}/perl5/site_perl/5.8.8/updateproto.pl
%{_libdir}/perl5/site_perl/5.8.8/adesklets.pm
%{_libdir}/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
%{_libdir}/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/adesklets/.packlist
%{_libdir}/python2.5/site-packages/%{name}/
%{_libdir}/python2.5/site-packages/posix_signal.so
%{_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

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