ALT Linux repositórios
Group :: Editores
RPM: leafpad
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: leafpad
Version: 0.8.3
Release: alt1
Summary: GTK+2 based notepad clone
License: GPL
Group: Editors
Url: http://tarot.freeshell.org/leafpad/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://tarot.freeshell.org/leafpad/%name-%version.tar.bz2
Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
# Automatically added by buildreq on Wed Jun 01 2005
BuildRequires: fontconfig freetype2 glib2-devel libatk-devel libgtk+2-devel libpango-devel perl-XML-Parser pkgconfig
%description
Leafpad is a simple GTK+ based text editor. The user interface is
similar to "notepad", and it aims to be lighter than GEdit and KWrite
and to be as useful as them.
%prep
%setup -q
%build
cp /usr/share/automake/config.sub .
%configure
%__make
%install
%__make install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %name
%__mkdir_p %buildroot%_menudir
freedesktop2menu.pl %name "Applications/%group" \
%buildroot%_datadir/applications/%name.desktop \
%buildroot%_menudir/%name
%post
%update_menus
%update_desktopdb
%postun
%clean_menus
%clean_desktopdb
%define _pixmapsdir %_datadir/pixmaps
%define _desktopdir %_datadir/applications
%files -f %name.lang
%doc AUTHORS ChangeLog README
%_bindir/*
%_pixmapsdir/*
%_desktopdir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.8.3
Release: alt1
Summary: GTK+2 based notepad clone
License: GPL
Group: Editors
Url: http://tarot.freeshell.org/leafpad/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://tarot.freeshell.org/leafpad/%name-%version.tar.bz2
Requires(post,postun): desktop-file-utils
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
# Automatically added by buildreq on Wed Jun 01 2005
BuildRequires: fontconfig freetype2 glib2-devel libatk-devel libgtk+2-devel libpango-devel perl-XML-Parser pkgconfig
%description
Leafpad is a simple GTK+ based text editor. The user interface is
similar to "notepad", and it aims to be lighter than GEdit and KWrite
and to be as useful as them.
%prep
%setup -q
%build
cp /usr/share/automake/config.sub .
%configure
%__make
%install
%__make install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %name
%__mkdir_p %buildroot%_menudir
freedesktop2menu.pl %name "Applications/%group" \
%buildroot%_datadir/applications/%name.desktop \
%buildroot%_menudir/%name
%post
%update_menus
%update_desktopdb
%postun
%clean_menus
%clean_desktopdb
%define _pixmapsdir %_datadir/pixmaps
%define _desktopdir %_datadir/applications
%files -f %name.lang
%doc AUTHORS ChangeLog README
%_bindir/*
%_pixmapsdir/*
%_desktopdir/*
%_menudir/*
%changelog
…
Todas as alterações você pod ver aqui