blob: 237c54332b4e71a08a4963caff8bd2ab24eb92ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
Name: tikzit
Version: 1.0
Release: 1%{?dist}
Summary: Tool for creating and modifying PGF/TikZ-based node-and-edge graphs for LaTeX documents
# try to choose a sensible group for this distro
%if 0%{?suse_version}
Group: Productivity/Graphics/Visualization/Graph
%else
%if 0%{?mdkversion}
Group: Sciences/Other
%else
Group: Applications/Productivity
%endif
%endif
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
URL: http://tikzit.sourceforge.net
Source0: http://switch.dl.sourceforge.net/project/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
BuildRequires: gcc-objc >= 4.6.0
BuildRequires: gnustep-base-devel >= 1.18.0
BuildRequires: gtk2-devel >= 2.18.0
BuildRequires: pango-devel >= 1.16
BuildRequires: cairo-devel >= 1.4
%if 0%{?suse_version}%{?mdkversion}
BuildRequires: libpoppler-glib-devel >= 0.10
%else
BuildRequires: poppler-glib-devel >= 0.10
%endif
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%description
TikZiT is a GTK+ application that allows the creation and modification of TeX
diagrams written using the pgf/TikZ macro library. It is especially geared
toward rapidly creating "dot"-diagrams for use in academic papers.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%if 0%{?suse_version}
# SuSE is particularly fussy about desktop file categories
%suse_update_desktop_file %{name} -r Graphics 2DGraphics
%endif
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
%{_bindir}/tikzit
%{_datadir}/tikzit/
%{_datadir}/applications/tikzit.desktop
%{_datadir}/icons/hicolor/*
%changelog
* Fri May 17 2013 Alex Merry <dev@randomguy3.me.uk> 1.0-2
-Fixed license on openSUSE
* Tue May 7 2013 Alex Merry <dev@randomguy3.me.uk> 1.0-1
-Bumped version
* Fri Aug 24 2012 Alex Merry <dev@randomguy3.me.uk> 0.9-1
-Bumped version
-Bumped requirements
* Tue Dec 06 2011 Alex Merry <dev@randomguy3.me.uk> 0.7-1
-Bumped version
* Tue Feb 08 2011 Alex Merry <dev@randomguy3.me.uk> 0.6-1
-Bumped version
-Added Pango and Cairo to BuildRequires
-Set minimum version for GNUStep-base
* Thu Dec 02 2010 Alex Merry <dev@randomguy3.me.uk> 0.5-1
-Rewrote spec file
|