]> git.pld-linux.org Git - SPECS.git/blob - gqcam.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / gqcam.spec
1 Summary:        A Linux clone of the QuickPict software that comes with the QuickCam
2 Summary(pl.UTF-8):      Linuksowy klon oprogramowania QuickPict przychodzącego z QuickCam
3 Name:           gqcam
4 Version:        0.9.1
5 Release:        0.3
6 License:        GPL v2
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ftp.debian.org/debian/pool/main/g/gqcam/%{name}_%{version}.orig.tar.gz
9 # Source0-md5:  d1f2eecec0dbd4dd88543986b47e2015
10 Patch0:         http://ftp.debian.org/debian/pool/main/g/gqcam/%{name}_%{version}-4.diff.gz
11 # Patch0-md5:   7ab126a358fe2147a9f5a217b8b99c6c
12 Patch1:         no-more-videodev_h.patch
13 Patch2:         fixes.patch
14 URL:            http://cse.unl.edu/~cluening/gqcam/
15 BuildRequires:  gtk+-devel
16 BuildRequires:  libjpeg-devel
17 BuildRequires:  libpng-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Gqcam allows you to use web cams with Linux.
22
23 Features:
24   - Brightness Control
25   - White Balance Control
26   - Contrast Control
27   - 3 Size Settings
28   - 2 Depth Settings
29   - Freeze Picture
30   - Snap Picture (saves in png, ppm and jpeg format)
31   - Command-line interface (good for webcam use)
32   - Snapping on a timer
33   - Support for the greyscale and color Quickcam, as well as CPiA based
34     cameras and most any other driver that supports the read() command
35
36 The cameras the author have gotten gqcam to work with or have had
37 other people tell him it works with are:
38   - Greyscale Quickcam
39   - Color Quickcam
40
41 Anything listed below this line I have not tested and know very little
42 about:
43   - Ezonics EZcam
44   - Creative Web-Cam II
45   - Philips USB PCVC675K
46   - Webcam III
47   - TerraCAM USB
48   - Plustek OptiCam 300U
49
50 %description -l pl.UTF-8
51 Gqcam pozwala na używanie kamer internetowych pod Linuksem.
52
53 Możliwości: kontrola jasności, kontrastu i balansu bieli, 3 ustawienia
54 rozmiaru, 2 ustawienia głębi, zamrażanie obrazu, zrzucanie obrazu (do
55 formatu PNG, PPM lub JPEG) - także sterowane timerem, interfejs z
56 linii poleceń, obsługa czarno-białych i kolorowych kamer QuickCam, a
57 także kamer opartych na CPiA oraz większości innych obsługujących
58 polecenie read().
59
60 Kamery o których wiadomo, że działają, to: Greyscale Quickcam i Color
61 Quickcam; nie były testowane: Ezonics EZcam, Creative Web-Cam II,
62 Philips USB PCVC675K, Webcam III, TerraCAM USB, Plustek OptiCam 300U.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67 %patch1 -p1
68 %patch2 -p1
69
70 %build
71 %{__make} \
72         CC="%{__cc}" \
73         LD="%{__cc}" \
74         LDFLAGS="$(gtk-config --libs gthread) -ljpeg -lpthread -lpng %{rpmldflags}" \
75         CFLAGS="$(gtk-config --cflags) %{rpmcflags}"
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
80 install -p gqcam $RPM_BUILD_ROOT%{_bindir}
81 cp -p debian/gqcam.1 $RPM_BUILD_ROOT%{_mandir}/man1
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc CHANGES INSTALL README README.threads
89 %attr(755,root,root) %{_bindir}/gqcam
90 %{_mandir}/man1/gqcam.1*
This page took 0.622406 seconds and 3 git commands to generate.