]> git.pld-linux.org Git - packages/captury.git/blob - captury.spec
- don't generate deps on internal hackery
[packages/captury.git] / captury.spec
1 Summary:        X11/GL screen capture tool
2 Summary(pl.UTF-8):      Narzędzie do wykonywania zrzutów ekranu X11/GL
3 Name:           captury
4 Version:        0.3.0
5 Release:        3
6 License:        GPL v2
7 Group:          X11/Applications/Graphics
8 Source0:        ftp://ftp.debian.org/debian/pool/main/c/captury/%{name}_%{version}~svn158.orig.tar.gz
9 # Source0-md5:  54b2de085bd83cb11da6598f6fa46198
10 Patch0:         %{name}-libpng.patch
11 URL:            http://rm-rf.in/captury
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  autoconf >= 2.53
14 BuildRequires:  automake
15 BuildRequires:  elfutils-devel
16 BuildRequires:  libcaptury-devel
17 BuildRequires:  libpng-devel >= 1.2
18 BuildRequires:  pkgconfig >= 1:0.17.2
19 BuildRequires:  xorg-lib-libX11-devel
20 Requires:       /usr/%{_lib}/libGL.so.1
21 Requires:       /usr/%{_lib}/libX11.so.6
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _noautoreq      libGLnative.so libX11native.so
25
26 %description
27 Captury is a screen capture application, primarly done for recording
28 OpenGL games.
29
30 %description -l pl.UTF-8
31 Captury to aplikacja do wykonywania zrzutów ekranów, przeznaczona
32 głównie do nagrywania gier OpenGL
33
34 %prep
35 %setup -q -n %{name}-%{version}~svn158.orig
36 %patch0 -p1
37
38 %build
39 %configure
40 # override NATIVE_ paths to symlink sonames and avoid depending on -devel packages
41 %{__make} \
42         NATIVE_LIBGL=/usr/%{_lib}/libGL.so.1 \
43         NATIVE_LIBX11=/usr/%{_lib}/libX11.so.6
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         NATIVE_LIBGL=/usr/%{_lib}/libGL.so.1 \
51         NATIVE_LIBX11=/usr/%{_lib}/libX11.so.6
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog
59 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/captury.conf
60 %attr(755,root,root) %{_bindir}/captury
61 %dir %{_libdir}/captury
62 %attr(755,root,root) %{_libdir}/captury/libGLcaptury.so
63 # symlinks to libGLcaptury
64 %attr(755,root,root) %{_libdir}/captury/libGL.so.1
65 %attr(755,root,root) %{_libdir}/captury/libGL.so
66 %attr(755,root,root) %{_libdir}/captury/libX11.so.6
67 %attr(755,root,root) %{_libdir}/captury/libX11.so
68 # symlinks to system libGL and libX11
69 %attr(755,root,root) %{_libdir}/captury/libGLnative.so
70 %attr(755,root,root) %{_libdir}/captury/libX11native.so
This page took 0.077197 seconds and 3 git commands to generate.