## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 7; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec Name: tikzit URL: https://tikzit.github.io/ Version: 2.1.6 Release: %autorelease License: GPLv3+ Summary: Diagram editor for pgf/TikZ Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Requires: hicolor-icon-theme qt5-qtsvg BuildRequires: make BuildRequires: gcc-c++ BuildRequires: flex BuildRequires: bison BuildRequires: qt5-qtbase-devel BuildRequires: poppler-qt5-devel BuildRequires: desktop-file-utils %description TikZiT is a graphical tool for rapidly creating an editing node-and-edge style graphs. It was originally created to aid in the typesetting of "dot" diagrams of interacting quantum observables, but can be used as a general graph editing program. %prep %autosetup -n %{name}-%{version} %build export OBJCFLAGS="%{optflags}" %qmake_qt5 PREFIX=%{_prefix} %make_build V=1 sed -i "s|\r||g" README.md %install %make_install INSTALL_ROOT="%{buildroot}" install -m 644 -D tex/sample/tikzit.sty %{buildroot}%{_datadir}/texlive/texmf-local/tex/latex/tikzit/tikzit.sty desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %{_bindir}/tikzit %license COPYING %doc README.md %{_datadir}/mime/packages/user-tikz-document.xml %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{_datadir}/applications/%{name}.desktop %{_datadir}/texlive/texmf-local/tex/latex/tikzit/tikzit.sty %{_mandir}/man1/tikzit.1.gz %changelog * Sat Jul 23 2022 Fedora Release Engineering 2.1.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.1.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 10 2020 W. Michael Petullo 2.1.6-3 - New upstream version - Include tikzit.sty in package * Thu Aug 13 2020 W. Michael Petullo 2.1.5-3 - Require qt5-qtsvg to fix https://github.com/tikzit/tikzit/issues/84 * Wed Jul 29 2020 Fedora Release Engineering - 2.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 08 2020 W. Michael Petullo 2.1.5-1 - New upstream version * Fri Jan 31 2020 Fedora Release Engineering - 2.1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 17 2020 Marek Kasik - 2.1.4-3 - Rebuild for poppler-0.84.0 * Sat Jul 27 2019 Fedora Release Engineering - 2.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 17 2019 W. Michael Petullo 2.1.4-1 - New upstream version - BuildRequire poppler-qt5-devel - Install man page * Thu Dec 06 2018 W. Michael Petullo 2.0-1 - New upstream version * Tue Nov 04 2014 Eric Smith 1.0-1 - Initial version