aboutsummaryrefslogtreecommitdiffstats
path: root/redhat/tvtime-0.9.7.spec
diff options
context:
space:
mode:
authorrascasse <devnull@localhost>2003-02-27 07:48:45 (GMT)
committerrascasse <devnull@localhost>2003-02-27 07:48:45 (GMT)
commit023f03c86d9205db63ee47e4bf35b121b80b9cb8 (patch)
treee437cf6ded7a0231afcd7b2e90c2b45ac209dd31 /redhat/tvtime-0.9.7.spec
parenta800fb921e28e7253f9407850063c28b822c4032 (diff)
0.9.7 Initial public release.0.9.7 Initial public release.0.9.7 Initial public release.0.9.7 Initial public release.0.9.7 Initial public release.0.9.7 Initial public release.0.9.7 Initial public release.
Diffstat (limited to 'redhat/tvtime-0.9.7.spec')
-rw-r--r--redhat/tvtime-0.9.7.spec28
1 files changed, 15 insertions, 13 deletions
diff --git a/redhat/tvtime-0.9.7.spec b/redhat/tvtime-0.9.7.spec
index 6dbceb6..0d5a617 100644
--- a/redhat/tvtime-0.9.7.spec
+++ b/redhat/tvtime-0.9.7.spec
@@ -1,7 +1,8 @@
# Some useful constants
%define ver 0.9.7
-%define beta beta
-%define rpm_ver 3
+#%define beta beta
+%define rpm_ver 1
+%define rh_addon tvtime-redhat.tar.gz
%define docsdir docs
%define rhdocsdir redhat
%define icon %{docsdir}/tvtime-icon-black.png
@@ -13,20 +14,21 @@
Summary: A high quality TV viewer.
Name: tvtime
Version: %{ver}
-Release: %{?beta:0.%{beta}.}%{rpm_ver}
+Release: %{!?beta:0.%{beta}.}%{rpm_ver}
URL: http://%{name}.sourceforge.net
Source0: %{name}-%{version}.tar.gz
+Source1: %{rh_addon}
License: GPL
Group: Applications/Multimedia
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: freetype-devel zlib-devel libstdc++-devel libpng-devel XFree86-libs libgcc freetype-devel glibc-debug textutils
-Requires: sh-utils man groff desktop-file-utils
+Requires: sh-utils desktop-file-utils
%description
%{name} is a high quality television application for use with video capture cards. %{name} processes the input from a capture card and displays it on a computer monitor or projector.
%prep
-%setup -q
+%setup -q -b1
%build
%configure
@@ -43,24 +45,22 @@ Requires: sh-utils man groff desktop-file-utils
install -D -m 644 %{icon} %{buildroot}%{_datadir}/pixmaps/%{name}-logo.png
# Copy desktop file
-mkdir -p %{buildroot}%{_datadir}/applications
+%{__mkdir_p} %{buildroot}%{_datadir}/applications
desktop-file-install --vendor custom --delete-original --dir %{buildroot}%{_datadir}/applications --add-category X-Red-Hat-Extra --add-category Application --add-category AudioVideo %{desktop_filename}
%endif
# Add man pages
-mkdir -p %{_mandir}/man1
-mkdir -p %{_mandir}/man5
-install -D -m 644 %{docsdir}/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1i
+%{__mkdir_p} %{_mandir}/man1
+%{__mkdir_p} %{_mandir}/man5
+install -D -m 644 %{docsdir}/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -D -m 644 %{docsdir}/%{name}rc.5 %{buildroot}%{_mandir}/man5/%{name}rc.5
-
%clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
-%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README docs/DESIGN docs/TODO docs/default.tvtimerc
+%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README docs/DESIGN docs/default.tvtimerc
%{_bindir}/%{name}
-%{_bindir}/timingtest
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}-logo.png
%{_datadir}/applications/*%{name}.desktop
@@ -68,6 +68,8 @@ rm -rf %{buildroot}
%{_mandir}/man5/%{name}rc.5*
%changelog
+* Wed Feb 26 2003 Paul Jara <rascasse at users.sourceforge.net>
+- Initial build with official tvtime 0.9.7 source
* Mon Feb 24 2003 Paul Jara <rascasse at users.sourceforge.net>
- Added default.tvtimerc to docs directory
- Sync'd with latest CVS version

Privacy Policy