* [mdk-re] проблемы со spec
@ 2001-05-25 15:58 Artem Pastuchov
0 siblings, 0 replies; only message in thread
From: Artem Pastuchov @ 2001-05-25 15:58 UTC (permalink / raw)
To: mandrake-russian
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
Добрый день
Выкачал тут програмку в tar.gz к ней был приложен spec
положил в /usr/src/RPM...
сделал rpm -bb tse3.spec
она скомпилировалась , а rpm не собрался
в связи с этим вопрос - чего бы почитать про сборку rpm помимо man rpm
P.S. spec прилагается
[-- Attachment #2: tse3.spec --]
[-- Type: text/plain, Size: 3061 bytes --]
################################################################################
#
# Name: tse3.spec
# Purpose: Spec file to generate RPMs for TSE3 library
# Author: Pete Goodliffe
# Date: 2000-01-30
#
# Library version: 0.0.21
#
# Usage:
# To create a TSE3 RPM file, run a make dist and copy the tse3-X.tar.gz to
# /usr/src/redhat/SOURCES. Then su to root and in the same directory as this
# spec file rpm -ba tse3.spec
#
###############################################################################
Summary: TSE3 sequencer engine library
Name: tse3
Version: 0.0.24
Release: 1
Copyright: GPL
Vendor: Trax Software
Url: http://tse3.sourceforge.net
Packager: Pete Goodliffe
Group: Applications/Multimedia
Source: tse3-0.0.24.tar.gz
BuildRoot: /tmp/%{name}-%{version}-buildroot
Prefix: /usr/local
%description
TSE3 [ Trax Sequencer Engine version 3 ]
The TSE3 library is a powerful third generation sequencer engine.
It provides core sequencer functionality with no form of fancy GUI interface.
The library comes with a sample playback program, tse3play
Install the TSE3 library if you want to use the tse3play program or
are using packages that rely on TSE3.
This RPM installation does not include Alsa library support, to get this you will have to build from source.
###############################################################################
# Preparing the build
%prep
rm -rf $RPM_BUILD_ROOT
%setup
###############################################################################
# Performing the build
# - Currently, I don't package with alsa support, since it's not working.
# - The docs aren't installed, otherwise the RPM gets two copies, one
# installed in /usr/local/doc (thanks to the makefile) and one in
# /usr/share/doc (thanks to rpm).
# - I build in non debug mode to keep the library size down.
%build
CXXFLAGS=-O2 ./configure -prefix=$RPM_BUILD_ROOT/usr/local --with-install-root=$RPM_BUILD_ROOT --without-alsa --without-doc-install
make
###############################################################################
# Installation
# - Performed into a temporary directory to not screw up the machine's setup
%install
make install
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.TSE3
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.TSE3
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.TSE3
###############################################################################
# Post install housekeeping
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/file.list.TSE3
###############################################################################
# RPM installation scripts
%post
ldconfig
%postun
ldconfig
###############################################################################
# The files to install
%files -f../file.list.TSE3
%doc doc/*.html doc/History doc/*.gif doc/*.png AUTHORS COPYING
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-25 15:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-25 15:58 [mdk-re] проблемы со spec Artem Pastuchov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git