rpms/fgfs-base/FC-6 fgfs-base.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Fabrice Bellet (bellet)
fedora-extras-commits at redhat.com
Sun Apr 8 18:42:26 UTC 2007
Author: bellet
Update of /cvs/extras/rpms/fgfs-base/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7958/FC-6
Modified Files:
.cvsignore sources
Added Files:
fgfs-base.spec
Log Message:
import fgfs-base-0.9.10-3 on branch FC-6
--- NEW FILE fgfs-base.spec ---
Name: fgfs-base
Summary: FlightGear base scenery and data files
Version: 0.9.10
Release: 3%{?dist}
License: GPL
Group: Amusements/Games
Source0: ftp://ftp.flightgear.org/pub/fgfs/Shared/fgfs-base-%{version}.tar.bz2
URL: http://www.flightgear.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
This package contains the base scenery for FlightGear and must be
installed
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/FlightGear
tar jxf %{SOURCE0} --strip-components 1 \
-C $RPM_BUILD_ROOT/%{_datadir}/FlightGear
# cleanup temporary files and fix permissions
find $RPM_BUILD_ROOT/%{_datadir}/FlightGear -name '*#*' -exec rm {} \;
find $RPM_BUILD_ROOT/%{_datadir}/FlightGear -type f -exec chmod 644 {} \;
# put documentation and license in the proper location
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
for f in COPYING AUTHORS NEWS README Thanks Docs Docs-mini
do
mv $RPM_BUILD_ROOT/%{_datadir}/FlightGear/$f \
$RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
done
# fix wrong eol encoding on some doc files
for f in Docs-mini/AptNavFAQ.FlightGear.html Docs-mini/FG-FAQ.v3 \
Docs/FGShortRef.css Docs/README.kln89.html Docs/FGShortRef.html
do
sed -i 's/\r//' $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/$f
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, 0755)
%doc %{_docdir}/%{name}-%{version}
%{_datadir}/FlightGear
%changelog
* Sat Apr 07 2007 Fabrice Bellet <fabrice at bellet.info> 0.9.10-3
- use sed instead of dos2unix to correct end-of-line encoding
* Mon Apr 02 2007 Fabrice Bellet <fabrice at bellet.info> 0.9.10-2
- Move documentation and license to a better place and mark it as %%doc
- Fix wrong end-of-line encoding in some doc files
* Tue Mar 20 2007 Fabrice Bellet <fabrice at bellet.info> 0.9.10-1
- Initial packaging
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fgfs-base/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Apr 2007 15:17:33 -0000 1.1
+++ .cvsignore 8 Apr 2007 18:41:52 -0000 1.2
@@ -0,0 +1 @@
+fgfs-base-0.9.10.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fgfs-base/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2007 15:17:33 -0000 1.1
+++ sources 8 Apr 2007 18:41:52 -0000 1.2
@@ -0,0 +1 @@
+0ff82689a1877de95490c429e717d8a2 fgfs-base-0.9.10.tar.bz2
More information about the fedora-extras-commits
mailing list