initial import
This commit is contained in:
parent
afe943c46e
commit
420a4c2fb0
@ -0,0 +1 @@
|
||||
cheese-0.2.4.tar.gz
|
87
cheese.spec
Normal file
87
cheese.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: cheese
|
||||
Version: 0.2.4
|
||||
Release: 2%{?dist}
|
||||
Summary: A webcam application for snapshots and movies
|
||||
|
||||
Group: Amusements/Graphics
|
||||
License: GPLv2+
|
||||
URL: http://live.gnome.org/Cheese
|
||||
# see http://live.gnome.org/Cheese/Releases for the sources
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: stripmenot.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gtk2-devel >= 2.10.0
|
||||
BuildRequires: libglade2-devel >= 2.0.0
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: gstreamer-devel >= 0.10.12
|
||||
BuildRequires: gstreamer-plugins-base-devel >= 0.10.12
|
||||
BuildRequires: gnome-vfs2-devel
|
||||
BuildRequires: libgnomeui-devel
|
||||
BuildRequires: evolution-data-server-devel
|
||||
#BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: libXxf86vm-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires: gstreamer-plugins-good >= 0.10.6-2
|
||||
|
||||
%description
|
||||
Cheese is a Photobooth-inspired GNOME application for taking pictures and
|
||||
videos from a webcam. It also includes fancy graphical effects based on the
|
||||
gstreamer-backend.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .stripmenot
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
desktop-file-install --delete-original --vendor="" \
|
||||
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
|
||||
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_bindir}/cheese
|
||||
%{_datadir}/applications/cheese.desktop
|
||||
%{_datadir}/cheese
|
||||
%{_datadir}/icons/hicolor/*/apps/cheese.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/cheese.svg
|
||||
|
||||
%changelog
|
||||
* Fri Sep 7 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-2
|
||||
- package review feedback
|
||||
|
||||
* Thu Sep 6 2007 Matthias Clasen <mclasen@redhat.com> 0.2.4-1
|
||||
- Initial packages
|
12
stripmenot.patch
Normal file
12
stripmenot.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up cheese-0.2.4/toc2/make/toc2-install.make.stripmenot cheese-0.2.4/toc2/make/toc2-install.make
|
||||
--- cheese-0.2.4/toc2/make/toc2-install.make.stripmenot 2007-09-07 00:41:13.000000000 -0400
|
||||
+++ cheese-0.2.4/toc2/make/toc2-install.make 2007-09-07 00:41:55.000000000 -0400
|
||||
@@ -147,7 +147,7 @@ toc2.call.install-dll = $(call toc2.cal
|
||||
## }
|
||||
|
||||
toc2.install.flags.nonbins = -m 0644
|
||||
-toc2.install.flags.bins = -s -m 0755
|
||||
+toc2.install.flags.bins = -m 0755
|
||||
toc2.install.flags.bin-scripts = -m 0755
|
||||
toc2.install.flags.dlls = -m 0755
|
||||
|
Loading…
Reference in New Issue
Block a user