A new user interface for you!

File diorite.spec of Package diorite

# spec file for package diorite
# Copyright (c) 2016 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 http://bugs.opensuse.org/

%define major_version 0.2
Name:           diorite
Version:        %{major_version}.0
Release:        0
Summary:        Utility and widget library for Nuvola Player
License:        LGPL-3.0+ and LGPL-2.1+ and BSD-3-Clause
Url:            https://github.com/tiliado/diorite
Source:         https://github.com/tiliado/%{name}/archive/%{commit}/%{name}-%{version}.tar.gz
BuildRequires:  gtk3-devel
BuildRequires:  vala-devel

Diorite Library is a utility and widget library for Nuvola Player project based
on GLib, GIO and GTK.

%package        devel
Summary:        Development package for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description    devel
This package contains development files for %{name}

%setup -q

./waf configure --prefix=%{_prefix} \
./waf build --prefix=%{_prefix} \

./waf install --prefix=%{_prefix} \
            --libdir=%{_libdir} \

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%doc README.md
%dir %{_datadir}/vala/vapi

%files devel