]> git.pld-linux.org Git - packages/camorama.git/blob - camorama.spec
- updated to 0.20.7 from linuxtv.org fork
[packages/camorama.git] / camorama.spec
1 Summary:        GNOME webcam program
2 Summary(pl.UTF-8):      Program do kamer internetowych dla GNOME
3 Name:           camorama
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
14 URL:            http://camorama.fixedgear.org/
15 BuildRequires:  autoconf >= 2.53
16 BuildRequires:  automake
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
24 # sr@Latn vs. sr@latin
25 Conflicts:      glibc-misc < 6:2.7
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Camorama is a simple webcam viewer, with the ability to apply some
30 video effects.
31
32 %description -l pl.UTF-8
33 Camorama to prosty program do podglądu z kamery, z możliwością
34 dodawania niektórych efektów graficznych.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@Latn,sr@latin}
56
57 %find_lang %{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %glib_compile_schemas
64 %update_icon_cache hicolor
65
66 %postun
67 %glib_compile_schemas
68 %update_icon_cache hicolor
69
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc AUTHORS ChangeLog NEWS README THANKS TODO
73 %attr(755,root,root) %{_bindir}/camorama
74 %{_datadir}/camorama
75 %{_datadir}/glib-2.0/schemas/org.gnome.camorama.gschema.xml
76 %{_datadir}/metainfo/camorama.appdata.xml
77 %{_desktopdir}/camorama.desktop
78 %{_iconsdir}/hicolor/*x*/devices/camorama.png
79 %{_mandir}/man1/camorama.1*
This page took 0.07576 seconds and 4 git commands to generate.