50 lines
1.3 KiB
RPMSpec
50 lines
1.3 KiB
RPMSpec
|
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
|