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