File girara.spec of Package girara
#
# spec file for package girara
#
# Copyright (c) 2014 SUSE LINUX Products 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 libname libgirara-gtk3-2
Name: girara
Version: 0.2.7
Release: 0
License: Zlib
Summary: A simple Graphical User Interface
Url: http://pwmt.org/projects/girara/
Group: System/GUI/Other
Source: http://pwmt.org/projects/girara/download/%{name}-%{version}.tar.gz
BuildRequires: gtk3-devel
BuildRequires: ncurses-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
girara is a library that implements a user interface that focuses on simplicity
and minimalism. Currently based on GTK+, a cross-platform widget toolkit, it
provides an interface that focuses on three main components: A so-called view
widget that represents the actual application (e.g. a website (browser), an
image (image viewer) or the document (document viewer)), an input bar that is
used to execute commands of the application and the status bar which provides
the user with current information. girara was designed to replace and enhance
the user interface that is used by zathura and jumanji and other features that
those applications share.
%lang_package -n %{libname}
%package -n %{libname}
Summary: A library for a simple Graphical User Interface
Group: System/GUI/Other
%description -n %{libname}
girara is a library that implements a user interface that focuses on simplicity
and minimalism. Currently based on GTK+, a cross-platform widget toolkit, it
provides an interface that focuses on three main components: A so-called view
widget that represents the actual application (e.g. a website (browser), an
image (image viewer) or the document (document viewer)), an input bar that is
used to execute commands of the application and the status bar which provides
the user with current information. girara was designed to replace and enhance
the user interface that is used by zathura and jumanji and other features that
those applications share.
%package devel
Summary: Development files for package girara
Requires: %{libname} == %{version}
Group: Development/Libraries/X11
%description devel
Development and Header files for package girara
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags} COLOR=0 VERBOSE=1
%install
%make_install LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}
find %{buildroot}%{_libdir}/ -name '*.*a' -delete -print
%find_lang %{libname} %{libname}.lang
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS LICENSE README
%{_libdir}/libgirara-gtk3.so.2
%{_libdir}/libgirara-gtk3.so.2.0
%files -n %{libname}-lang -f %{libname}.lang
%files devel
%defattr (-, root, root, -)
%dir %{_includedir}/girara
%{_includedir}/girara/*
%{_libdir}/libgirara-gtk3.so
%{_libdir}/pkgconfig/girara-gtk3.pc
%changelog