rpms/hdhomerun/FC-6 hdhomerun.spec,NONE,1.1
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Mon Jul 16 14:56:08 UTC 2007
Author: jwilson
Update of /cvs/pkgs/rpms/hdhomerun/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16986
Added Files:
hdhomerun.spec
Log Message:
oops, forgot to add the spec file...
--- NEW FILE hdhomerun.spec ---
%define releasedate 20070616
Name: hdhomerun
Version: 0.0
Release: 0.2.%{releasedate}%{?dist}
Summary: HDHomeRun configuration utility
Group: Applications/System
License: LGPL
URL: http://www.silicondust.com/
Source0: http://download.silicondust.com/hdhomerun/libhdhomerun_%{releasedate}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
libhdhomerun contains the configuration and firmware upgrade
utility for Silicon Dust's HDHomeRun.
%prep
%setup -q -n libhdhomerun
# Fix up linefeeds, drop execute bit and don't strip binaries
%{__sed} -i 's/\r//' *
%{__chmod} -x *
%{__sed} -i -e '/strip/d' -e 's/C\(PP\)\?FLAGS .=/C\1FLAGS ?=/' Makefile
# Convert files to utf8
for f in *; do
/usr/bin/iconv -f iso-8859-1 -t utf-8 --output $f.new $f && mv $f.new $f
done
%build
export CFLAGS="$RPM_OPT_FLAGS"
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m0755 hdhomerun_config $RPM_BUILD_ROOT%{_bindir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc lgpl.txt README
%{_bindir}/hdhomerun_config
%changelog
* Thu Jul 12 2007 Jarod Wilson <jwilson at redhat.com> 0.0-0.2.20070616
- Use sed instead of perl, drop perl BR: (jeff at ocjtech.us)
- Convert source files to utf8 (jeff at ocjtech.us)
* Mon Jun 18 2007 Jarod Wilson <jwilson at redhat.com> 0.0-0.1.20070616
- Update to 20070616 release
- Don't install any of the header files and drop lib from the package
name, since this really isn't a library
* Fri May 18 2007 Jarod Wilson <jwilson at redhat.com> 0.0-0.1.20070512
- Initial packaging for Fedora
More information about the fedora-extras-commits
mailing list