crystalspace.spec - propozycja

Michał Lisowski lisu87 at gmail.com
Thu Nov 30 21:31:11 CET 2006


Zanim dodam description i summary oraz zanim wrzuce to do repo chcialem
sie spytac, czy spec jest zrobiony dobrze? czy ktos moze poradzic co
zrobic z tymi wszystkimi plikami binarnymi?

/usr/bin:  cs-config, csbench, csbench.dbg, csdemo, csdemo.dbg, csfgen,
csfgen.dbg,
    cslight, cslight.dbg, docconv, docconv.dbg, genmeshify, genmeshify.dbg,
    heightmapgen, heightmapgen.dbg, levtool, levtool.dbg, maya2spr,
maya2spr.dbg,
    md32spr, md32spr.dbg, mdl2spr, mdl2spr.dbg, partconv, partconv.dbg,
python.cex,
    startme, startme.dbg, vsh, vsh.dbg, walktest, walktest.dbg


napewno cs-config do -devel wrzucam, ale co z reszta?

z gory dzieki za pomoc
-------------- next part --------------
# $Revision: $, $Date: $
%define	_rc	rc1
Summary:	-
Summary(pl):	-
Name:		crystalspace
Version:	1.0
Release:	0.%{_rc}.1
License:	GPL v2+
Group:		Applications
Source0:	http://www.crystalspace3d.org/downloads/release/%{name}-src-%{version}%{_rc}.tar.bz2
# Source0-md5:	87a262979e7cb9f04bbf60e2697584f4
URL:		http://www.crystalspace3d.org
#BuildRequires:	-
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description

%description -l pl

%package devel
Summary:	Header files for crystalspace
Summary(pl):	Pliki nag³ówkowe crystalspace
Group:		Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
Header files for crystalspace.

%description devel -l pl
Pliki nag³ówkowe crystalspace.

%prep
%setup -q -n %{name}-src-%{version}%{_rc}

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README docs/*txt
%attr(755,root,root) %{_bindir}/csbench
%attr(755,root,root) %{_bindir}/csdemo
%attr(755,root,root) %{_bindir}/csfgen
%attr(755,root,root) %{_bindir}/cslight
%attr(755,root,root) %{_bindir}/docconv
%attr(755,root,root) %{_bindir}/genmeshify
%attr(755,root,root) %{_bindir}/heightmapgen
%attr(755,root,root) %{_bindir}/levtool
%attr(755,root,root) %{_bindir}/maya2spr
%attr(755,root,root) %{_bindir}/md32spr
%attr(755,root,root) %{_bindir}/mdl2spr
%attr(755,root,root) %{_bindir}/partconv
%attr(755,root,root) %{_bindir}/startme
%attr(755,root,root) %{_bindir}/vsh
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
%{_datadir}/%{name}

%files devel
%defattr(644,root,root,755)
%doc docs/html
%attr(755,root,root) %{_bindir}/cs-config
%{_includedir}/%{name}
%{_libdir}/%{name}

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: crystalspace.spec,v $


More information about the pld-devel-pl mailing list