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