]>
Commit | Line | Data |
---|---|---|
265c0a57 | 1 | Summary: GNOME webcam program |
88503da7 | 2 | Summary(pl.UTF-8): Program do kamer internetowych dla GNOME |
265c0a57 | 3 | Name: camorama |
091ebabd JB |
4 | Version: 0.20.7 |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Multimedia | |
8 | # up to 0.19 | |
9 | #Source0: http://ftp.gnome.org/pub/GNOME/sources/camorama/0.19/%{name}-%{version}.tar.bz2 | |
10 | # forked 0.20 | |
11 | Source0: https://linuxtv.org/downloads/camorama/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: 98c09616c3fd23821a2644f665620fda | |
13 | Patch0: %{name}-desktop.patch | |
3a1db0d0 | 14 | URL: http://camorama.fixedgear.org/ |
135a4657 | 15 | BuildRequires: autoconf >= 2.53 |
6fdd104e | 16 | BuildRequires: automake |
091ebabd JB |
17 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
18 | BuildRequires: gettext-tools >= 0.19.8 | |
19 | # also possible: gtk+2 >= 2:2.24, gtk+4 >= 3.92 | |
20 | BuildRequires: gtk+3-devel >= 3.10 | |
21 | BuildRequires: libv4l-devel | |
22 | Requires(post,postun): gtk-update-icon-cache | |
23 | Requires: hicolor-icon-theme | |
60dd160f | 24 | # sr@Latn vs. sr@latin |
25 | Conflicts: glibc-misc < 6:2.7 | |
265c0a57 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
091ebabd JB |
29 | Camorama is a simple webcam viewer, with the ability to apply some |
30 | video effects. | |
265c0a57 | 31 | |
574aa62e | 32 | %description -l pl.UTF-8 |
091ebabd JB |
33 | Camorama to prosty program do podglądu z kamery, z możliwością |
34 | dodawania niektórych efektów graficznych. | |
3a1db0d0 | 35 | |
265c0a57 | 36 | %prep |
37 | %setup -q | |
77597065 | 38 | %patch0 -p1 |
265c0a57 | 39 | |
40 | %build | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
091ebabd | 43 | %{__autoheader} |
265c0a57 | 44 | %{__automake} |
091ebabd | 45 | %configure |
3a1db0d0 | 46 | |
265c0a57 | 47 | %{__make} |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
3a1db0d0 | 53 | DESTDIR=$RPM_BUILD_ROOT |
265c0a57 | 54 | |
091ebabd JB |
55 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@Latn,sr@latin} |
56 | ||
77597065 | 57 | %find_lang %{name} |
58 | ||
265c0a57 | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
8f262449 | 62 | %post |
091ebabd JB |
63 | %glib_compile_schemas |
64 | %update_icon_cache hicolor | |
135a4657 | 65 | |
091ebabd JB |
66 | %postun |
67 | %glib_compile_schemas | |
68 | %update_icon_cache hicolor | |
3a1db0d0 | 69 | |
77597065 | 70 | %files -f %{name}.lang |
265c0a57 | 71 | %defattr(644,root,root,755) |
265c0a57 | 72 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
73 | %attr(755,root,root) %{_bindir}/camorama | |
77597065 | 74 | %{_datadir}/camorama |
091ebabd JB |
75 | %{_datadir}/glib-2.0/schemas/org.gnome.camorama.gschema.xml |
76 | %{_datadir}/metainfo/camorama.appdata.xml | |
6fdd104e | 77 | %{_desktopdir}/camorama.desktop |
091ebabd JB |
78 | %{_iconsdir}/hicolor/*x*/devices/camorama.png |
79 | %{_mandir}/man1/camorama.1* |