]> git.pld-linux.org Git - packages/camorama.git/blob - camorama.spec
5e96e0cb94ab23284fbd0b8421a91efd453cd9e1
[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.19
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/camorama/0.19/%{name}-%{version}.tar.bz2
9 # Source0-md5:  75025ba37d1dd1c398d92ba2dbef43ee
10 Patch0:         %{name}-schemas.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         fixes.patch
13 Patch3:         libv4l.patch
14 Patch4:         no-more-videodev_h.patch
15 Patch5:         new-glib.patch
16 URL:            http://camorama.fixedgear.org/
17 BuildRequires:  GConf2-devel
18 BuildRequires:  autoconf >= 2.53
19 BuildRequires:  automake
20 BuildRequires:  gettext-devel
21 BuildRequires:  gtk+2-devel >= 2:2.10.0
22 BuildRequires:  intltool >= 0.36.2
23 BuildRequires:  libglade2-devel
24 BuildRequires:  libgnomeui-devel
25 Requires(post,preun):   GConf2
26 # sr@Latn vs. sr@latin
27 Conflicts:      glibc-misc < 6:2.7
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Camorama is a program for controlling webcams. It is pretty simple at
32 the moment, and I hope to make it much more complete. I also plan to
33 make it more generic, as I initially wrote it with only my own
34 Creative Webcam 3 in mind. Hopefully it will work with other cameras.
35
36 %description -l pl.UTF-8
37 Camorama to program do kontrolowania kamer internetowych. Na razie
38 jest prosty, ale autor ma nadzieję uczynić go bardziej kompletnym;
39 planuje także uczynić go bardziej ogólnym, bo na razie program był
40 pisany tylko z myślą o Creative Webcam 3. W przyszłości ma działać z
41 innymi kamerami.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %patch1 -p1
47 %patch2 -p1
48 %patch3 -p1
49 %patch4 -p1
50 %patch5 -p1
51
52 %{__sed} -i -e s#sr\@Latn#sr\@latin# configure.in
53 mv -f po/sr\@{Latn,latin}.po
54
55 %build
56 %{__intltoolize}
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --disable-schemas-install
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %gconf_schema_install camorama.schemas
78
79 %preun
80 %gconf_schema_uninstall camorama.schemas
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README THANKS TODO
85 %attr(755,root,root) %{_bindir}/camorama
86 %{_datadir}/camorama
87 %{_desktopdir}/camorama.desktop
88 %{_pixmapsdir}/*.png
89 %{_sysconfdir}/gconf/schemas/camorama.schemas
This page took 0.063258 seconds and 2 git commands to generate.