|
lug-bg: make RPM
- Subject: lug-bg: make RPM
- From: joro@email.domain.hidden (George Ivanov)
- Date: Mon, 14 Jul 2003 11:27:58 +0300
Zdravejte,
Opitvam se da napravq RPM za KbeDix-4.0
Imam nqkakvi problemi .
Eto spec fajla :
##########################################################
%define name kbedic
Summary: A Bulgarian/English dictionary.
Name: kbedic
Version: 4.0
Release: 4
Copyright: GPL
Group: System Environment/Base
Source: http://ftp1.sourceforge.net/kbedic/kbedic-4.0.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
%description
English-Bulgarian and Bulgarian-English Dictionary
<p>%prep
%setup
%build
./configure --prefix=/usr --with-kde
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -s -m 755 src/kbedic $RPM_BUILD_ROOT/usr/bin/kbedic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README TODO COPYING ChangeLog
/usr/bin/kbedic
%changelog
We now use SADictionary datafiles.
###############################################
Zna4i ./configure si minava normalno .
Posle pri izpulnenie na make mi dava slednoto :
+ make 'RPM_OPT_FLAGS=-O2 -march=i486 -mcpu=i686'
Making all in src
make[1]: Entering directory `/usr/src/packages/BUILD/kbedic-4.0/src'
cd .. && \
/bin/sh /usr/src/packages/BUILD/kbedic-4.0/missing --run automake --gnu
src/Makefile
configure.in:11: your implementation of AM_INIT_AUTOMAKE comes from an
configure.in:11: old Automake version. You should recreate aclocal.m4
configure.in:11: with aclocal and run automake again.
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in
AM_CONDITIONAL
src/Makefile.am:2: `CPPFLAGS' is a user variable, you should not override it;
src/Makefile.am:2: use `AM_CPPFLAGS' instead.
WARNING: `automake' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd .. && \
CONFIG_HEADERS= CONFIG_LINKS= \
CONFIG_FILES=src/Makefile /bin/sh ./config.status
creating src/Makefile
make[1]: Leaving directory `/usr/src/packages/BUILD/kbedic-4.0/src'
make[1]: Entering directory `/usr/src/packages/BUILD/kbedic-4.0/src'
Makefile:240: *** missing separator. Stop.
make[1]: Leaving directory `/usr/src/packages/BUILD/kbedic-4.0/src'
make: *** [all-recursive] Error 1
Bad exit status from /var/tmp/rpm-tmp.69731 (%build)
###############################################################
Tozi source sum gi kompiliral bez problemi na tekushata mashina.
Nqkakvi idei ?
Joro
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|