LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File igloo.spec of Package igloo (Project home:peralta_jm:libraries)

# spec file for package bedopts
# Copyright (c) 2013 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/

# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

Name:           igloo
Version:        1.1.1
Release:        0
License:        BSL-1.0
Summary:        A framework for unit testing in C++
Group:          Development/Libraries
URL:            https://github.com/joakimkarlsson/igloo
# Source0:      https://github.com/easylogging/easyloggingpp/archive/v%%{version}.zip
Source0:        %{URL}/archive/%{name}-%{name}.%{version}.zip

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  unzip

# If building an openSUSE package, flag it as noarch
%if !0%{?sles_version}
BuildArchitectures: noarch

Provides:       libigloo = %{version}
Provides:       libigloo-devel = %{version}

Igloo is a unit testing framework for C++ that aims to:

- stay out of your way and let you focus on what you want to test
- help you create readable tests
- have a syntax that doesn’t make you repeat yourself

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

%{__mv} README.md README
%{__mv} LICENSE_1_0.txt LICENSE.txt


test "%{buildroot}" != "/" && %__rm -rf %{buildroot}

%{__install} -d -m0755 %{buildroot}%{_includedir}
%{__mv} igloo %{buildroot}%{_includedir}
%{_fixperms} %{buildroot}%{_includedir}/%{name}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

test "%{buildroot}" != "/" && %__rm -rf %{buildroot}


* Mon Aug 04 2014 peralta_jm@yahoo.com
- Initial package