Compare commits

..

9 commits

Author SHA1 Message Date
Fedora Release Engineering
711d057320 dist-git conversion 2010-07-29 14:51:57 +00:00
paragn
0f5d79f392 - No updates from upstream and development is dead. 2009-12-05 15:21:59 +00:00
Bill Nottingham
3af4892e69 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:18 +00:00
39c6ec51ba - Correct path to lsusb 2009-09-20 11:17:37 +00:00
Jesse Keating
4da9f46a99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 06:42:24 +00:00
Jesse Keating
acd6a05429 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 23:42:38 +00:00
paragn
9766d3d576 - Rebuild for gcc 4.3 2008-02-09 16:10:01 +00:00
paragn
5fdbb4a950 Update to new upstream release 1.0.3 2007-08-28 17:29:27 +00:00
paragn
151f6fa623 update License tag and build against new rpm package 2007-08-21 15:32:53 +00:00
5 changed files with 1 additions and 102 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
v4l2-tool-1.0.2.tar.gz
v4l2-tool-1.0.3.tar.gz

View file

@ -1,21 +0,0 @@
diff -urN v4l2-tool-1.0.2/src/interface.c v4l2-tool-1.0.2-patched/src/interface.c
--- v4l2-tool-1.0.2/src/interface.c 2006-09-28 16:45:20.000000000 +0530
+++ v4l2-tool-1.0.2-patched/src/interface.c 2006-10-03 15:17:02.000000000 +0530
@@ -274,7 +274,7 @@
}
strncat(srch1,gtxt,6);
- fp = fopen("uvcvideo.txt", "r");
+ fp = fopen("/usr/share/v4l2-tool/uvcvideo.txt", "r");
if (fp == NULL)
exit(0);
while ((r_read = getline(&line, &len, fp)) != -1) {
@@ -286,7 +286,7 @@
}
}
fclose (fp);
- fp = fopen("gspca.txt", "r");
+ fp = fopen("/usr/share/v4l2-tool/gspca.txt", "r");
if (fp == NULL)
exit(0);
while ((r_read = getline(&line, &len, fp)) != -1) {

0
dead.package Normal file
View file

View file

@ -1 +0,0 @@
89891d3f36e4e9851d3b2dc87974e334 v4l2-tool-1.0.2.tar.gz

View file

@ -1,80 +0,0 @@
Name: v4l2-tool
Version: 1.0.2
Release: 2%{?dist}
Summary: This package gives v4l2 device information of webcam
Group: Applications/Multimedia
License: GPL
URL: http://www.sourceforge.net/
Source0: http://jaist.dl.sourceforge.net/sourceforge/v4lx-devinfo/%{name}-%{version}.tar.gz
Patch0: db.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils libgnomeui-devel
BuildRequires: automake
%description
This package gives v4l2 device information of webcam. This
application is used to get more hardware information from attached
webcam device. This application is tested with gspca and uvcvideo
v4l2 kernel drivers. There are five tabs each corresponding to one
ioctl call and returning respective structure fills with values.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .db
%build
sh autogen.sh
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/%{name}
install -m 644 src/uvcvideo.txt %{buildroot}%{_datadir}/%{name}/uvcvideo.txt
install -m 644 src/gspca.txt %{buildroot}%{_datadir}/%{name}/gspca.txt
mkdir -p %{buildroot}%{_datadir}/pixmaps/
install -p -m 644 v4l2-tool-logo.png %{buildroot}%{_datadir}/pixmaps/v4l2-tool-logo.png
cat << EOF > %{name}.desktop
[Desktop Entry]
Name=v4l2-tool
Comment=Gives webcam details using v4l2 kernel driver
Exec=v4l2-tool
Icon=v4l2-tool-logo
Terminal=false
Type=Application
Encoding=UTF-8
Categories=GNOME;Application;AudioVideo;Video;
EOF
desktop-file-install --vendor fedora \
--dir %{buildroot}/%{_datadir}/applications/ \
%{name}.desktop
%clean
rm -rf %{buildroot}
%post
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%files
%defattr(-, root, root)
%doc COPYING AUTHORS ChangeLog README
%{_bindir}/v4l2-tool
%{_datadir}/*
%changelog
* Thu Nov 30 2006 Parag Nemade <panemade@gmail.com> 1.0.2-2
- Fixed Desktop file, Source URL, Added COPYING under %%doc
* Sat Aug 26 2006 Parag Nemade <panemade@gmail.com> 1.0.2-1
- Initial specfile for Fedora Extras