]> git.pld-linux.org Git - packages/cheese.git/blob - cheese.spec
- updated to 2.30.1
[packages/cheese.git] / cheese.spec
1 Summary:        A cheesy program to take pictures and videos from your web cam
2 Summary(pl.UTF-8):      Program do pobierania zdjęć i filmów z kamery internetowej
3 Name:           cheese
4 Version:        2.30.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/cheese/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1599fded8a1797ea51fb010af4e6c45b
10 URL:            http://live.gnome.org/Cheese
11 BuildRequires:  GConf2-devel >= 2.24.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  dbus-glib-devel >= 0.74
15 BuildRequires:  docbook-dtd43-xml
16 BuildRequires:  evolution-data-server-devel >= 2.24.0
17 BuildRequires:  gettext-devel
18 BuildRequires:  glib2-devel >= 1:2.18.0
19 BuildRequires:  gnome-common >= 2.24.0
20 BuildRequires:  gnome-desktop-devel >= 2.26.0
21 BuildRequires:  gnome-doc-utils >= 0.14.0
22 BuildRequires:  gstreamer-devel >= 0.10.23
23 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.23
24 BuildRequires:  gtk+2-devel >= 2:2.20.0
25 BuildRequires:  gtk-doc-automake >= 1.11
26 BuildRequires:  intltool >= 0.40.0
27 BuildRequires:  libcanberra-gtk-devel
28 BuildRequires:  librsvg-devel >= 2.18.2
29 BuildRequires:  libtool
30 BuildRequires:  pkgconfig
31 BuildRequires:  rpmbuild(find_lang) >= 1.23
32 BuildRequires:  rpmbuild(macros) >= 1.311
33 BuildRequires:  udev-glib-devel
34 BuildRequires:  xorg-lib-libXxf86vm-devel
35 Requires(post,postun):  gtk+2
36 Requires(post,postun):  hicolor-icon-theme
37 Requires(post,postun):  scrollkeeper
38 Requires(post,preun):   GConf2
39 Requires:       gstreamer-theora >= 0.10.23
40 Requires:       gstreamer-vorbis >= 0.10.23
41 Requires:       gtk+2 >= 2:2.20.0
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 Cheese is a cheesy program to take pictures and videos from your web
46 cam. It also provides some graphical effects in order to please the
47 users play instinct.
48
49 %description -l pl.UTF-8
50 Cheese to program do pobierania zdjęć i filmów z kamery internetowej.
51 Udostępnia także kilka graficznych efektów w celu zaspokojenia
52 instynktów oglądania u użytkowników.
53
54 %package devel
55 Summary:        Cheese header files
56 Summary(pl.UTF-8):      Pliki nagłówkowe Cheese
57 Group:          X11/Development/Libraries
58 Requires:       %{name} = %{version}-%{release}
59 Requires:       gstreamer-plugins-base-devel >= 0.10.23
60 Requires:       gtk+2-devel >= 2:2.20.0
61 Requires:       libcanberra-gtk-devel
62
63 %description devel
64 Cheese header files.
65
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe Cheese.
68
69 %package apidocs
70 Summary:        Cheese API documentation
71 Summary(pl.UTF-8):      Dokumentacja API Cheese
72 Group:          Documentation
73 Requires:       gtk-doc-common
74
75 %description apidocs
76 Cheese API documentation.
77
78 %description apidocs -l pl.UTF-8
79 Dokumentacja API Cheese.
80
81 %prep
82 %setup -q
83 sed -i 's#^en@shaw##' po/LINGUAS
84 rm po/en@shaw.po
85
86 %build
87 %{__intltoolize}
88 %{__libtoolize}
89 %{__aclocal}
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure \
94         --disable-schemas-install \
95         --disable-scrollkeeper \
96         --disable-silent-rules \
97         --disable-static \
98         --enable-gtk-doc \
99         --with-html-dir=%{_gtkdocdir}
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 %find_lang %{name} --with-gnome --with-omf
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post
114 /sbin/ldconfig
115 %update_icon_cache hicolor
116 %gconf_schema_install cheese.schemas
117 %scrollkeeper_update_post
118
119 %preun
120 %gconf_schema_uninstall cheese.schemas
121
122 %postun
123 /sbin/ldconfig
124 %update_icon_cache hicolor
125 %scrollkeeper_update_postun
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc AUTHORS ChangeLog README
130 %attr(755,root,root) %{_bindir}/cheese
131 %attr(755,root,root) %{_libdir}/libcheese-gtk.so.*.*.*
132 %attr(755,root,root) %ghost %{_libdir}/libcheese-gtk.so.18
133 %dir %{_libdir}/cheese
134 %attr(755,root,root) %{_libdir}/cheese/cheese-bugreport.sh
135 %{_sysconfdir}/gconf/schemas/cheese.schemas
136 %{_desktopdir}/cheese.desktop
137 %{_datadir}/cheese
138 %{_datadir}/dbus-1/services/org.gnome.Cheese.service
139 %{_iconsdir}/hicolor/*/apps/*
140
141 %files devel
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/libcheese-gtk.so
144 %{_libdir}/libcheese-gtk.la
145 %{_includedir}/cheese
146 %{_pkgconfigdir}/cheese-gtk.pc
147
148 %files apidocs
149 %defattr(644,root,root,755)
150 %{_gtkdocdir}/cheese
This page took 0.042295 seconds and 4 git commands to generate.