ALT Linux repositórios
Group :: Desenvolvimento/KDE e QT
RPM: kdoc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: kdoc
Version: 3.0.0
Release: alt1
Serial: 1
Group: Development/KDE and QT
Summary: K Desktop Environment - Documentation tools
Url: http://www.kde.org/
License: GPL
Source: %name-%version.tar.bz2
BuildRequires: rpm-build
BuildArch: noarch
%define _perl_lib_path %_datadir/%name
%description
Documentation tools for the K Desktop Environment %version.
%prep
%setup -q -n %name-%version
make -f Makefile.cvs ||:
%build
%configure
%make_build CXXFLAGS="-DNO_DEBUG -DNDEBUG"
%install
make install DESTDIR=%buildroot
mkdir -p %buildroot/%_docdir/HTML/en
mv %buildroot/%_docdir/%name %buildroot/%_docdir/HTML/en/%name
install -m644 doc/index.cache.bz2 %buildroot/%_docdir/HTML/en/%name/index.cache.bz2
%files
%defattr(-,root,root,-)
%doc README TODO
%doc %_docdir/HTML/en/%name
%doc %_mandir/*/*
%_bindir/*
%_datadir/%name
%changelog
…
Todas as alterações você pod ver aqui
Version: 3.0.0
Release: alt1
Serial: 1
Group: Development/KDE and QT
Summary: K Desktop Environment - Documentation tools
Url: http://www.kde.org/
License: GPL
Source: %name-%version.tar.bz2
BuildRequires: rpm-build
BuildArch: noarch
%define _perl_lib_path %_datadir/%name
%description
Documentation tools for the K Desktop Environment %version.
%prep
%setup -q -n %name-%version
make -f Makefile.cvs ||:
%build
%configure
%make_build CXXFLAGS="-DNO_DEBUG -DNDEBUG"
%install
make install DESTDIR=%buildroot
mkdir -p %buildroot/%_docdir/HTML/en
mv %buildroot/%_docdir/%name %buildroot/%_docdir/HTML/en/%name
install -m644 doc/index.cache.bz2 %buildroot/%_docdir/HTML/en/%name/index.cache.bz2
%files
%defattr(-,root,root,-)
%doc README TODO
%doc %_docdir/HTML/en/%name
%doc %_mandir/*/*
%_bindir/*
%_datadir/%name
%changelog
…
Todas as alterações você pod ver aqui