File gtk-vector-screenshot.spec of Package gtk-vector-screenshot
55
1
# norootforbuild
2
3
Name: gtk-vector-screenshot
4
Summary: Module to create vector screenshots of GTK3-based programs
5
Summary(de): Modul zur Erstellung von Vector-Screenshots GTK3 basierender Programme
6
Version: 0.3.3
7
Release: 0
8
License: GPL-2.0
9
URL: http://www.joachim-breitner.de/projects#gtk-vector-screenshot
10
Source: %name-%version.tar
11
Patch0: %name-linkfix.diff
12
BuildRequires: autoconf
13
BuildRequires: automake
14
BuildRequires: libtool
15
BuildRequires: pkgconfig
16
BuildRequires: pkgconfig(gtk+-3.0)
17
BuildRequires: pkgconfig(x11)
18
BuildRequires: update-desktop-files
19
20
%description
21
Witth this GTK-module you can create screenshots from running GTK-3-programs
22
as vector graphic. You can scale it an mark and search texts inside. It suports
23
the formats PDF, SVG and PostScript.
24
25
%description -l de
26
Mit diesem GTK-Modul können Sie Screenshots von laufenden GTK-3-Anwendungen
27
als Vektor-Graphik erstellen, stufenlos scalierbar und mit markier- und
28
durchsuchbarem Text. Es unterstützt die Formate PDF, SVG und PostScript.
29
30
%prep
31
%setup
32
%patch -P 0 -p1
33
34
%build
35
autoreconf -fiv
36
export 'CFLAGS=%optflags -Wno-deprecated-declarations'
37
%configure
38
%make_build
39
40
%install
41
%make_install
42
install -D --mode=444 --target-directory=%buildroot%_sysconfdir/X11/xinit/xinitrc.d 52load-gtk-vector-screenshot-gtk-module
43
find %buildroot -name "*.la" -delete
44
%suse_update_desktop_file -r take-vector-screenshot Graphics VectorGraphics
45
46
%files
47
%license COPYING
48
%doc README
49
%config %_sysconfdir/X11
50
%_bindir/take-vector-screenshot
51
%_libdir/gtk-3.0/modules/libgtk-vector-screenshot.so
52
%_datadir/applications/take-vector-screenshot.desktop
53
54
%changelog
55