File bidekkida.spec of Package bidekkida

# spec file for package bidekkida
# Copyright (c) 2017 Buschmann <>
# 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

# See also 

Name:           bidekkida
Version:        0.1.60git
Release:        0
Summary:        Tiny Tool to Anonymize Apache Log File Entries
License:        GPL-3.0
Group:          Productivity/Networking/Web/Utilities
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  cmake >= 3.1
BuildRequires:  xz
BuildRequires:  pkgconfig(Qt5Core) >= 5.5.0

Tiny tool to anonymize log file entries that can contain personal data like IP addresses.
Currently mainly targeted to Apache web server log files. It is written in C++/Qt.

%setup -q

  mkdir build
  pushd build
  cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
        -DCMAKE_BUILD_TYPE="Release" \
        -DCMAKE_C_FLAGS:STRING="${CFLAGS:-%optflags}" \
        -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS:-%optflags}" \
        -DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \
  make %{?_smp_mflags} VERBOSE=1

  pushd build
  make DESTDIR=%{?buildroot:%{buildroot}} install