LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File exlib.spec of Package exlib (Project home:lnussel:abichecker)

#
# spec file for package exlib
#
# 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 http://bugs.opensuse.org/
#

Name:           exlib
Version:        1
Release:        0
License:        MIT
Summary:        Example Library
Url:            None
Group:          None
Source:         exlib.tar.bz2

%package -n libexlib%{version}
License:        MIT
Summary:        Example Library
Group:          None

%package devel
License:        MIT
Summary:        Example Library
Group:          None

%description
Example library to test binary compatibility

%description -n libexlib%{version}
Example library to test binary compatibility

%description devel
Example library to test binary compatibility devel package

%prep
%setup -q -n %name

%build
make SUBDIRS=%{version} %{?_smp_mflags} libdir=%{_libdir}

%install
make install SUBDIRS=%{version} DESTDIR=%{buildroot} %{?_smp_mflags} libdir=%{_libdir}

%files -n libexlib%{version}
%defattr(-,root,root)
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%{_libdir}/*.so