blob: 53791c1643eabdbf6c45120c4f946f4f82236d95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
Summary: The GNOME2 virtual file-system libraries
Summary(pl): Biblioteki wirtualnego systemu plików dla GNOME2
Summary(pt_BR): Arquivos de dados tipo MIME para o desktop GNOME
Name: gnome-mime-data
Version: 2.4.0
Release: 2
License: LGPL
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
# Source0-md5: b8f1b383a23d734bec8bc33a03cb3690
Patch0: %{name}-x-gzip-compressed.patch
URL: http://www.gnome.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glib2-devel >= 2.2.3
BuildRequires: libtool
Provides: gnome-vfs-data = %{version}
Obsoletes: gnome-vfs-data
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This module contains the base MIME and Application database for GNOME.
It is meant to be accessed through the MIME functions in GnomeVFS.
%description -l pl
Ten moduł zawiera bazowe MIME oraz bazę Aplikacji dla GNOME.
Przeznaczony jest do udostępniania przez funkcje MIME w GnomeVFS.
%description -l pt_BR
O GNOME MIME contém arquivos de identificaçăo e tipos MIME para o
sistema GNOME.
%package devel
Summary: Development files for gnome-mime-data
Summary(pl): Pliki potrzebne przy tworzeniu programów używajacych gnome-mime-data
Group: X11/Development/Libraries
Requires: %{name} = %{version}
%description devel
Developmet files for gnome-mime-data.
%description devel -l pl
Pliki potrzebne przy tworzeniu programów używajacych gnome-mime-data.
%prep
%setup -q
%patch0 -p1
%build
rm -f missing
glib-gettextize --copy --force
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README NEWS
%{_sysconfdir}/*
%{_datadir}/application-registry
%{_datadir}/mime-info
%{_mandir}/man5/*
%files devel
%defattr(644,root,root,755)
%{_pkgconfigdir}/*.pc
|