]> git.pld-linux.org Git - packages/camorama.git/blob - camorama.spec
- sr@Latn -> sr@latin, rel. 3
[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.18
5 Release:        3
6 License:        GPL
7 Group:          Applications
8 Source0:        http://camorama.fixedgear.org/downloads/%{name}-%{version}.tar.bz2
9 # Source0-md5:  26ea7219405f2ec1677329190bed5e01
10 Patch0:         %{name}-schemas.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://camorama.fixedgear.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bonobo-activation-devel >= 1.0.0
16 BuildRequires:  glib2-devel >= 2.0.0
17 BuildRequires:  gnome-vfs2-devel >= 2.0.0
18 BuildRequires:  gtk+2-devel >= 1:2.0.3
19 BuildRequires:  libbonobo-devel >= 2.0.0
20 BuildRequires:  libbonoboui-devel >= 2.0.0
21 BuildRequires:  libgnome-devel >= 2.0.0
22 BuildRequires:  libgnomeui-devel >= 2.0.1
23 BuildRequires:  libpng-devel >= 1.2.2
24 BuildRequires:  pango-devel >= 1:1.0.3
25 Requires(post): 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 echo '#define GNOMELOCALEDIR "/usr/share/locale"' >> src/interface.h
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure \
54         --disable-schemas-install
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
65         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
66 %find_lang %{name}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %gconf_schema_install
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README THANKS TODO
77 %attr(755,root,root) %{_bindir}/camorama
78 %{_datadir}/camorama
79 %{_desktopdir}/camorama.desktop
80 %{_pixmapsdir}/*.png
81 %{_sysconfdir}/gconf/schemas/camorama.schemas
This page took 0.060817 seconds and 3 git commands to generate.