Initial import (#1446005)

This commit is contained in:
W. Michael Petullo 2019-02-17 19:11:06 -05:00
parent d0cc57a878
commit c52c7c864c
3 changed files with 51 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/tikzit-2.0.tar.gz

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (tikzit-2.0.tar.gz) = b0838b75d28bbede58d264964a0c2fca2c4119b014b478dc443d36c8352fbe9fc08e1d4566aa5b94825df92283e715d953373fb8ac5f02ee947a8375c95f5534

49
tikzit.spec Normal file
View File

@ -0,0 +1,49 @@
Name: tikzit
URL: https://tikzit.github.io/
Version: 2.0
Release: 1%{?dist}
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
BuildRequires: gcc-c++
BuildRequires: flex
BuildRequires: bison
BuildRequires: qt5-qtbase-devel
%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}"
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
%changelog
* Thu Dec 06 2018 W. Michael Petullo <mike@flyn.org> 2.0-1
- New upstream version
* Tue Nov 04 2014 Eric Smith <brouhaha@fedorapeople.org> 1.0-1
- Initial version