Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rudi_m:devel-snap
unsermarkt
unsermarkt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File unsermarkt.spec of Package unsermarkt
# # spec file for package unsermarkt # # 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/ # %define build_release_tarball 1 %if 0%{?sles_version} # don't know how to make rpmlint happy on SLE %define build_release_tarball 0 %endif %ifarch ppc ppc64 %define build_release_tarball 0 %endif Name: unsermarkt Version: 0.2.2.git0.0505e Release: 0 Summary: Gluing unserding beef traffic and the real world License: BSD-3-Clause Group: Productivity/Text/Convertors URL: https://github.com/hroptatyr/unsermarkt Source: %{name}-%{version}.tar.xz %if %{build_release_tarball} Source1: %{name}-rpmlintrc %endif # required for git builds only BuildRequires: autoconf BuildRequires: automake BuildRequires: gengetopt BuildRequires: libtool # required for dist builds BuildRequires: libev-devel BuildRequires: lua-devel BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: unserding-devel BuildRequires: uterus-devel BuildRequires: xz %if 0%{?centos_version:1} || 0%{?fedora_version:1} || 0%{?rhel_version:1} BuildRequires: expat-devel %else BuildRequires: libexpat-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Unsermarkt is a set of tools, snippets, modules that utilise unserding beef channels (ad-hoc multicast networks) to produce meaningful chains of business processes like tick data acquisition, data consolidation, trading strategies, and order processing. %package -n %{name}-devel Summary: Development files for %{name} Group: Development/Libraries/Other Requires: %{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. %if %{build_release_tarball} %package release-tarball Summary: Tarball to be released by upstream Group: Development/Libraries/Other Requires: do_not_install_this_but_unrpm %description release-tarball This packackge contains a clean "make dist" tarball to be released by upstream maintainers. Do not install this package. Just unrpm it. In doubt you'll never need it at all. %endif %prep %setup -q %build test -f .version || echo %{version} > .version autoreconf -vfi # expat.pc is missing on most distros with expat < 2.1 if ! pkg-config --exists expat; then export expat_CFLAGS=" " export expat_LIBS="-lexpat" fi %configure \ --docdir=%{_docdir}/%{name} make V=1 %install %{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} find %{buildroot}%{_libdir} -name "*.la" -print0| xargs -0 -r rm # install dist tarball and create file list for release-tarball package %if %{build_release_tarball} make dist dist_tarball="$(find -maxdepth 1 -name "%{name}-*.tar.xz")" dist_tarball_dst="$(echo "%{distribution}" | sed 's,.* ,/release_obs_,g')" mkdir -p "%{buildroot}${dist_tarball_dst}" cp -a "${dist_tarball}" "%{buildroot}${dist_tarball_dst}" echo "%dir ${dist_tarball_dst}" > /tmp/files_release_tarball echo "${dist_tarball_dst}/${dist_tarball}" >> /tmp/files_release_tarball %endif %check if ! make check; then cat test/test-suite.log exit 1 fi %if %{build_release_tarball} # redirect distcheck output to not confuse our rpmlint if ! make distcheck DVIS="" &> make_distcheck.log ;then cat make_distcheck.log echo "make distcheck failed" exit 1 fi %endif %clean rm -rf %{buildroot} %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root,-) %doc %{_docdir}/%{name} %{_bindir}/um-* %dir %{_libdir}/unserding %{_libdir}/unserding/libsvc-uterus.so.* %{_libdir}/unserding/svc-uterus.so %files -n %{name}-devel %defattr(-,root,root) %dir %{_includedir}/unserding/ %{_includedir}/unserding/svc-uterus.h %{_libdir}/unserding/libsvc-uterus.a %{_libdir}/unserding/libsvc-uterus.so %{_libdir}/pkgconfig/unsermarkt.pc %if %{build_release_tarball} %files release-tarball -f /tmp/files_release_tarball %defattr(-,root,root,-) %endif %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