1 |
%define major 1 |
2 |
%define libname %mklibname gmtk %{major} |
3 |
%define libnamedev %mklibname -d gmtk |
4 |
|
5 |
Name: gmtk |
6 |
Summary: Library for gnome-mplayer and gecko-mediaplayer |
7 |
Version: 1.0.7 |
8 |
Release: %mkrel 3 |
9 |
License: GPLv2+ |
10 |
Group: System/Libraries |
11 |
Source0: http://gmtk.googlecode.com/files/%{name}-%{version}.tar.gz |
12 |
Patch0: gmtk-1.0.7-link-order.patch |
13 |
URL: http://code.google.com/p/gmtk/ |
14 |
BuildRequires: pkgconfig(gconf-2.0) |
15 |
BuildRequires: pkgconfig(x11) |
16 |
BuildRequires: pkgconfig(gtk+-3.0) |
17 |
BuildRequires: pkgconfig(glib-2.0) |
18 |
BuildRequires: pkgconfig(gthread-2.0) |
19 |
BuildRequires: pkgconfig(alsa) |
20 |
BuildRequires: pkgconfig(libpulse) |
21 |
BuildRequires: pkgconfig(libpulse-mainloop-glib) |
22 |
BuildRequires: intltool |
23 |
|
24 |
%description |
25 |
Library for gnome-mplayer and gecko-mediaplayer. |
26 |
|
27 |
%package i18n |
28 |
Summary: Translation files for %name |
29 |
Group: System/Libraries |
30 |
BuildArch: noarch |
31 |
|
32 |
%description i18n |
33 |
This package contains translation files for %name. |
34 |
|
35 |
%package -n %{libname} |
36 |
Summary: Library for gnome-mplayer and gecko-mediaplayer |
37 |
Group: System/Libraries |
38 |
Requires: %{name}-i18n >= %{version} |
39 |
|
40 |
%description -n %{libname} |
41 |
Library for gnome-mplayer and gecko-mediaplayer. |
42 |
|
43 |
%package -n %{libnamedev} |
44 |
Summary: Libraries and include files for developing with libgmtk |
45 |
Group: Development/C |
46 |
Requires: %{libname} = %{version} |
47 |
Provides: %{name}-devel = %{version}-%{release} |
48 |
|
49 |
%description -n %{libnamedev} |
50 |
This package provides the necessary development libraries and include |
51 |
files to allow you to develop with %{name}. |
52 |
|
53 |
%prep |
54 |
%setup -q |
55 |
%patch0 -p1 |
56 |
|
57 |
%build |
58 |
autoreconf -fi |
59 |
%configure2_5x --disable-static --enable-gsettings --disable-gconf |
60 |
%make |
61 |
|
62 |
%install |
63 |
%makeinstall_std |
64 |
|
65 |
%find_lang %name |
66 |
|
67 |
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_datadir}/doc/%{name}/* |
68 |
|
69 |
%files i18n -f %name.lang |
70 |
|
71 |
%files -n %{libname} |
72 |
%{_libdir}/*.so.%{major} |
73 |
%{_libdir}/*.so.%{major}.* |
74 |
|
75 |
%files -n %{libnamedev} |
76 |
%{_libdir}/*.so |
77 |
%{_includedir}/%{name} |
78 |
%{_libdir}/pkgconfig/*.pc |