Group :: Gráficos
RPM: glabels
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: glabels
Version: 2.2.0
Release: alt1.qa1
Summary: glabels is a GNOME program to create labels and business cards
Summary(ru_RU.KOI8-R): glabels ÄÌÑ GNOME - ÐÒÏÇÒÁÍÍÁ ÓÏÚÄÁÎÉÑ ÜÔÉËÅÔÏË É ×ÉÚÉÔÏË
License: GPL
Group: Graphics
Url: http://glabels.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%name-%version.tar.bz2
Source1: %name-2.1.3.ru.po
Patch: %name-1.93.3-crop.patch
Patch1: %name-2.2.0-etersoft.patch
Patch2: %name-2.2.0.patch
# Automatically added by buildreq on Wed Jan 02 2008
BuildRequires: desktop-file-utils evolution-data-server-devel gcc-c++ libSM-devel libgnomeui-devel librarian perl-XML-Parser
Requires: lib%name = %version-%release
# Typical environment for GNOME program
Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: GConf2
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
BuildRequires: shared-mime-info
BuildRequires: shared-mime-info
%description
gLabels is a lightweight program for creating labels and
business cards for the GNOME desktop environment.
It is designed to work with various laser/ink-jet peel-off
label and business card sheets that you'll find at most office
supply stores.
%description -l ru_RU.KOI8-R
gLabels -- ÐÒÏÓÔÁÑ É ËÏÍÐÁËÔÎÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÓÏÚÄÁÎÉÑ ÜÔÉËÅÔÏË
É ×ÉÚÉÔÎÙÈ ËÁÒÔÏÞÅË × ÓÒÅÄÅ GNOME.
ïÎÁ ÐÏÚ×ÏÌÑÅÔ ÒÁÂÏÔÁÔØ Ó ÒÁÚÌÉÞÎÙÍÉ ×ÉÄÁÍÉ ÓÐÅÃÉÁÌØÎÏÊ ÂÕÍÁÇÉ
ÄÌÑ ÜÔÉËÅÔÏË É ×ÉÚÉÔÏË, ÐÒÉÇÏÄÎÙÍÉ ÄÌÑ ÌÁÚÅÒÎÙÈ É ÓÔÒÕÊÎÙÈ
ÐÒÉÎÔÅÒÏ×.
%package -n lib%name
Summary: library for glabels
Group: Graphics
%description -n lib%name
This package contains the library for glabels program.
%package -n lib%name-devel
Summary: header files for glabels library
Group: Graphics
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains headers files for development with glabels library.
%prep
%setup -q
#%patch0 -p0
%patch1
%patch2
#cp -f %SOURCE1 po/ru.po
#mv data/mime/Makefile.in data/mime/Makefile.in.old
#%__grep -v "UPDATE_" data/mime/Makefile.in.old >data/mime/Makefile.in
#%__subst "s|<Alias.*>||" data/*.xml
%build
%configure --disable-dependency-tracking \
--disable-static --disable-schemas-install
%make_build
%install
%makeinstall
rm -rf %buildroot/var/lib/scrollkeeper
%find_lang %name --with-gnome
%post
%update_menus
%update_scrollkeeper
%update_desktopdb
%update_mimedb
%postun
%clean_menus
%clean_scrollkeeper
%clean_desktopdb
%clean_mimedb
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files -f %name.lang
%doc README ChangeLog NEWS AUTHORS INSTALL
%_bindir/%name
%_bindir/%name-batch
%_desktopdir/*
%_datadir/%name
%_pixmapsdir/*
%_datadir/mime-info/*
%_datadir/application-registry/*
%_datadir/mime/packages/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_includedir/lib%name
%_pkgconfigdir/*
%_datadir/gtk-doc/html/libglabels/
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.2.0
Release: alt1.qa1
Summary: glabels is a GNOME program to create labels and business cards
Summary(ru_RU.KOI8-R): glabels ÄÌÑ GNOME - ÐÒÏÇÒÁÍÍÁ ÓÏÚÄÁÎÉÑ ÜÔÉËÅÔÏË É ×ÉÚÉÔÏË
License: GPL
Group: Graphics
Url: http://glabels.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%name-%version.tar.bz2
Source1: %name-2.1.3.ru.po
Patch: %name-1.93.3-crop.patch
Patch1: %name-2.2.0-etersoft.patch
Patch2: %name-2.2.0.patch
# Automatically added by buildreq on Wed Jan 02 2008
BuildRequires: desktop-file-utils evolution-data-server-devel gcc-c++ libSM-devel libgnomeui-devel librarian perl-XML-Parser
Requires: lib%name = %version-%release
# Typical environment for GNOME program
Requires(post): GConf2
Requires(post,postun): scrollkeeper
Requires(post,postun): desktop-file-utils
BuildPreReq: GConf2
BuildPreReq: desktop-file-utils
BuildPreReq: menu-devel
BuildRequires: shared-mime-info
BuildRequires: shared-mime-info
%description
gLabels is a lightweight program for creating labels and
business cards for the GNOME desktop environment.
It is designed to work with various laser/ink-jet peel-off
label and business card sheets that you'll find at most office
supply stores.
%description -l ru_RU.KOI8-R
gLabels -- ÐÒÏÓÔÁÑ É ËÏÍÐÁËÔÎÁÑ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÓÏÚÄÁÎÉÑ ÜÔÉËÅÔÏË
É ×ÉÚÉÔÎÙÈ ËÁÒÔÏÞÅË × ÓÒÅÄÅ GNOME.
ïÎÁ ÐÏÚ×ÏÌÑÅÔ ÒÁÂÏÔÁÔØ Ó ÒÁÚÌÉÞÎÙÍÉ ×ÉÄÁÍÉ ÓÐÅÃÉÁÌØÎÏÊ ÂÕÍÁÇÉ
ÄÌÑ ÜÔÉËÅÔÏË É ×ÉÚÉÔÏË, ÐÒÉÇÏÄÎÙÍÉ ÄÌÑ ÌÁÚÅÒÎÙÈ É ÓÔÒÕÊÎÙÈ
ÐÒÉÎÔÅÒÏ×.
%package -n lib%name
Summary: library for glabels
Group: Graphics
%description -n lib%name
This package contains the library for glabels program.
%package -n lib%name-devel
Summary: header files for glabels library
Group: Graphics
Requires: lib%name = %version-%release
%description -n lib%name-devel
This package contains headers files for development with glabels library.
%prep
%setup -q
#%patch0 -p0
%patch1
%patch2
#cp -f %SOURCE1 po/ru.po
#mv data/mime/Makefile.in data/mime/Makefile.in.old
#%__grep -v "UPDATE_" data/mime/Makefile.in.old >data/mime/Makefile.in
#%__subst "s|<Alias.*>||" data/*.xml
%build
%configure --disable-dependency-tracking \
--disable-static --disable-schemas-install
%make_build
%install
%makeinstall
rm -rf %buildroot/var/lib/scrollkeeper
%find_lang %name --with-gnome
%post
%update_menus
%update_scrollkeeper
%update_desktopdb
%update_mimedb
%postun
%clean_menus
%clean_scrollkeeper
%clean_desktopdb
%clean_mimedb
%post -n lib%name
%post_ldconfig
%postun -n lib%name
%postun_ldconfig
%files -f %name.lang
%doc README ChangeLog NEWS AUTHORS INSTALL
%_bindir/%name
%_bindir/%name-batch
%_desktopdir/*
%_datadir/%name
%_pixmapsdir/*
%_datadir/mime-info/*
%_datadir/application-registry/*
%_datadir/mime/packages/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_includedir/lib%name
%_pkgconfigdir/*
%_datadir/gtk-doc/html/libglabels/
%changelog
…
Todas as alterações você pod ver aqui