Group :: Sistema/Bibliotecas
RPM: gnome-mime-data
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define ver_major 2.4
Name: gnome-mime-data
Version: %ver_major.2
Release: alt1
Summary: MIME-Type and Application database for GNOME
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org/
BuildArch: noarch
Source: %name-%version.tar.bz2
Source1: %name-applications
Source2: %name-keys
Patch: %name-2.4.2-alt-makefile.patch
Requires: menu >= 2.1.5-ipl80mdk
BuildPreReq: gnome-common >= 2.8.0 glib2-devel intltool
# Automatically added by buildreq on Wed Oct 27 2004
BuildRequires: perl-XML-Parser
%description
This module contains the base MIME and Application database for GNOME.
It is meant to be accessed through the MIME functions in GnomeVFS.
%prep
%setup -q
%patch -p1
%build
autoreconf -ifsv
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_sysconfdir/menu-methods
%__cp %SOURCE1 %buildroot%_sysconfdir/menu-methods/%name-applications
%__cp %SOURCE2 %buildroot%_sysconfdir/menu-methods/%name-keys
%__chmod a+x %buildroot%_sysconfdir/menu-methods/*
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%_libdir/pkgconfig/*
%_datadir/application-registry/*
%_datadir/mime-info/*.keys
%_datadir/mime-info/*.mime
%config(noreplace) %_sysconfdir/gnome-vfs-mime-magic
%config(noreplace) %_sysconfdir/menu-methods/*
%doc %_mandir/man?/*
%doc AUTHORS ChangeLog README
%changelog
…
Todas as alterações você pod ver aqui
Name: gnome-mime-data
Version: %ver_major.2
Release: alt1
Summary: MIME-Type and Application database for GNOME
License: LGPL
Group: System/Libraries
Url: http://www.gnome.org/
BuildArch: noarch
Source: %name-%version.tar.bz2
Source1: %name-applications
Source2: %name-keys
Patch: %name-2.4.2-alt-makefile.patch
Requires: menu >= 2.1.5-ipl80mdk
BuildPreReq: gnome-common >= 2.8.0 glib2-devel intltool
# Automatically added by buildreq on Wed Oct 27 2004
BuildRequires: perl-XML-Parser
%description
This module contains the base MIME and Application database for GNOME.
It is meant to be accessed through the MIME functions in GnomeVFS.
%prep
%setup -q
%patch -p1
%build
autoreconf -ifsv
%configure
%make_build
%install
%makeinstall
%__mkdir_p %buildroot%_sysconfdir/menu-methods
%__cp %SOURCE1 %buildroot%_sysconfdir/menu-methods/%name-applications
%__cp %SOURCE2 %buildroot%_sysconfdir/menu-methods/%name-keys
%__chmod a+x %buildroot%_sysconfdir/menu-methods/*
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%_libdir/pkgconfig/*
%_datadir/application-registry/*
%_datadir/mime-info/*.keys
%_datadir/mime-info/*.mime
%config(noreplace) %_sysconfdir/gnome-vfs-mime-magic
%config(noreplace) %_sysconfdir/menu-methods/*
%doc %_mandir/man?/*
%doc AUTHORS ChangeLog README
%changelog
…
Todas as alterações você pod ver aqui