File timezonemap.spec of Package timezonemap

# spec file for package timezonemap
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           timezonemap
Version:	0.4.3build1
Release:	0
License:	GPL-3.0
Summary:	GTK+3 timezone map widget
Group:	System/Libraries
BuildRequires:	gnome-common
BuildRequires:	glib2-devel
BuildRequires:	gtk3-devel
BuildRequires:	gobject-introspection-devel
BuildRequires:	json-glib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Timezone map widget for GTK+3

%package -n libtimezonemap1
Summary:	GTK+3 timezone map widget
Group:	System/Libraries

%description -n libtimezonemap1
Timezone map widget for GTK+3.

%package devel
Summary:	Development headers for %{name}
Group:	Development/Libraries/C and C++
Requires:	libtimezonemap1 = %{version}

%description devel
Development headers for %{name}.

%package -n typelib-1_0-TimezoneMap-1_0
Summary:	GTK+3 timezone map widget - Introspection bindings
Group:	System/Libraries

%description -n typelib-1_0-TimezoneMap-1_0
This package contains the GObject Introspection bindings for
%{name} library.

%setup -q -n lib%{name}-%{version}

make %{?_smp_mflags}

make install DESTDIR=%{buildroot} %{?_smp_mflags}
find %{buildroot} -name "*.la" -delete

%post -n libtimezonemap1 -p /sbin/ldconfig

%postun -n libtimezonemap1 -p /sbin/ldconfig

%files -n libtimezonemap1

%files devel

%files -n typelib-1_0-TimezoneMap-1_0