Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rudi_m
unserding
unserding.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unserding.spec of Package unserding
# # spec file for package unserding # # Copyright (c) 2015 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/ # Name: unserding Version: 0.4.1 Release: 0 Summary: Framework for ad-hoc networks for financial applications License: BSD-3-Clause Group: Productivity/Text/Convertors URL: https://github.com/hroptatyr/unserding Source: %{name}-%{version}.tar.xz BuildRequires: libev-devel BuildRequires: pkgconfig BuildRequires: xz %if 0%{?centos_version:1} || 0%{?fedora_version:1} BuildRequires: libtool-ltdl-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): info %description This is a framework for ad-hoc networks for financial applications. %define library_name libunserding2 %package -n %{library_name} Summary: Shared library of %{name} Group: Development/Libraries/Other %description -n %{library_name} This package contains the %{name} shared library. %package -n %{name}-devel Summary: Development files for %{name} Group: Development/Libraries/Other Requires: %{library_name} = %{version} Requires: glibc-devel %description -n %{name}-devel This package contains the header files and libraries needed for compiling programs using the %{name} library. %prep %setup -q %build %configure \ --docdir=%{_docdir}/%{name} \ --libexecdir=%{_libdir} \ --enable-library make V=1 %install %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} rm -f %{buildroot}%{_infodir}/dir find %{buildroot}%{_libdir} -name "*.la" -print0| xargs -0 -r rm %check if ! make check; then # TODO output some logs echo "make check failed" #exit 1 fi %clean rm -rf %{buildroot} %post %if 0%{?install_info:1} %install_info --info-dir=%{_infodir} %{_infodir}/unserding.info* %endif %post -n %{library_name} -p /sbin/ldconfig %postun %if 0%{?install_info_delete:1} %install_info_delete --info-dir=%{_infodir} %{_infodir}/unserding.info* %endif %postun -n %{library_name} -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/* %dir %{_libdir}/unserding %{_libdir}/unserding/svc-pong.so %doc %{_infodir}/unserding.info* %files -n %{name}-devel %defattr(-,root,root) %{_includedir}/unserding/ %{_libdir}/libunserding.a %{_libdir}/libunserding.so %{_libdir}/pkgconfig/unserding.pc %files -n %{library_name} %defattr(-,root,root,-) %{_libdir}/libunserding.so.2* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor