+++ /dev/null
-# $Id:
-# Maintainer: Ivailo Monev <xakepa10@gmail.com>
-
-# https://wiki.archlinux.org/index.php/Arch_package_guidelines
-
-pkgname=katie-git
-pkgver=4.12.0.r4681.8f22ea5f
-pkgrel=1
-pkgdesc='C++ toolkit derived from the Qt 4.8 framework'
-arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
-url='https://github.com/fluxer/katie'
-license=('LGPL' 'BSD')
-depends=('libsm' 'libxcursor' 'libxinerama' 'libxrandr' 'fontconfig'
- 'icu' 'jansson' 'libcups' 'xdg-utils' 'libdeflate')
-makedepends=('cmake' 'git' 'unifdef')
-optdepends=('gnu-free-fonts: last resort font')
-source=("git+https://github.com/fluxer/katie")
-sha1sums=('SKIP')
-conflicts=('katie')
-# options=('debug')
-
-pkgver() {
- cd katie
- printf "4.12.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../katie \
- -Wno-dev \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DKATIE_LDCONF_PATH=/etc/ld.so.conf.d \
- -DKATIE_PROFILE_PATH=/etc/profile.d \
- -DKATIE_TOOLS_SUFFIX="-katie"
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-
- install -vDm644 ../katie/LICENSE.BSD \
- "${pkgdir}/usr/share/licenses/katie-git/BSD.txt"
-}
+++ /dev/null
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/
-
-Name: katie
-Version: 4.12.0
-Release: 1%{?dist}
-Summary: C++ toolkit derived from the Qt 4.8 framework
-License: BSD and LGPLv2+
-URL: https://github.com/fluxer/katie
-
-BuildRequires: gcc-c++ cmake libicu-devel libdeflate-devel jansson-devel libpng-devel freetype-devel libX11-devel libXinerama-devel libXrandr-devel libXrender-devel libXfixes-devel libXcursor-devel libSM-devel libICE-devel dbus-devel fontconfig-devel cups-devel unifdef
-Requires: xdg-utils gnu-free-fonts
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
-
-%description
-Katie is continuation of the Qt4 C++ toolkit with the goal to keep it alive,
-clean it up, fix some bugs and backport some features from Qt5. It is based
-on the latest Git revision of Qt v4.8.
-
-This package includes libraries, tools and their documentation.
-
-%build
-%cmake -DKATIE_TOOLS_SUFFIX="-katie"
-%cmake_build
-
-%install
-%cmake_install --strip
-rm -v %{buildroot}/%{_sysconfdir}/profile.d/katie-*.sh
-
-%files
-%doc README
-%{_bindir}/*
-%{_libdir}/katie/*
-%{_libdir}/*.so.*
-%{_datadir}/applications/*
-%{_datadir}/pixmaps/*
-%{_mandir}/man1/*
-%{_sysconfdir}/ld.so.conf.d/katie-*.conf
-
-%post
-/sbin/ldconfig
-/usr/bin/update-desktop-database &> /dev/null || :
-%postun
-/sbin/ldconfig
-/usr/bin/update-desktop-database &> /dev/null || :
-
-%package devel
-Summary: C++ toolkit derived from the Qt 4.8 framework (development package)
-
-Requires: katie >= %{version}
-
-%description devel
-Katie is continuation of the Qt4 C++ toolkit with the goal to keep it alive,
-clean it up, fix some bugs and backport some features from Qt5. It is based
-on the latest Git revision of Qt v4.8.
-
-This package includes headers, pkg-config and CMake files.
-
-%files devel
-%doc README
-%{_includedir}/katie/*
-%{_libdir}/*.so
-%{_libdir}/pkgconfig/*
-%{_libdir}/cmake/Katie/*
-
-%changelog
-* Tue Dec 14 2021 Ivailo Monev <xakepa10@gmail.com> - 4.12.0-1
-- package update
-
-* Tue Nov 23 2021 Ivailo Monev <xakepa10@gmail.com> - 4.11.1-1
-- package update
-
-* Fri Aug 13 2021 Ivailo Monev <xakepa10@gmail.com> - 4.11.0-1
-- package update
-
-* Mon Feb 8 2020 Ivailo Monev <xakepa10@gmail.com> - 4.10.0-1
-- package update
-
-* Mon Dec 21 2020 Ivailo Monev <xakepa10@gmail.com> - 4.9.2-1
-- package update
-
-* Wed Dec 17 2020 Ivailo Monev <xakepa10@gmail.com> - 4.9.1-1
-- package update
-
-* Wed Dec 16 2020 Ivailo Monev <xakepa10@gmail.com> - 4.9.0-1
-- initial package