Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: make RPM


  • Subject: Re: lug-bg: make RPM
  • From: sava@email.domain.hidden (Sava Chankov)
  • Date: Tue, 15 Jul 2003 11:46:12 +0300


George Ivanov wrote:
<em class="quotelev1">> Vuzmojno e da ima takuv problem .
<em class="quotelev1">> Az reshih problema s make clean v sekciqta %buidl predi da izvikam ./configure
<em class="quotelev1">> Struva mi se 4e tova beshe problema.
<em class="quotelev1">> Sega kogato go imam tozi paket (shte porabotq oshte malko po nego , zashtot 
<em class="quotelev1">> tova mi e purviq RPM :) ) nqkoi interesuva li go ? Paketa e za SuSe 8.2 . I 
<em class="quotelev1">> vuobshte ima li mqsto kudeto bih mogul da sloja tozi paket za da se polzva ot 
<em class="quotelev1">> horata ?
<em class="quotelev1">> Blagodarq na vsi4ki .
<em class="quotelev1">> 
<em class="quotelev1">> 
<em class="quotelev1">> Joro

Íå ïóñêàé ïàêåòà, ïðåäè äà ñëîæèø ëèíêîâå íà äåñêòîïà è â ìåíþòî íà KDE.
Àç ñúùî ñè ïðàâÿ rpm-òà îò ïðåäèøíàòà âåðñèÿ, íî íå ñúì ãè ïóñêàë â 
ìðåæàòà, ùîòî çà äà ñà êðàñèâè, òðÿáâà äà ïðàâÿò è ãîðíàòà ïîäðîáíîñò. 
Èíà÷å íàé-äîáðå å êàòî ñè ãîòîâ, äà ñå ñâúðæåø ñ àâòîðà íà ðå÷íèêà - 
Ðàäîñòèí Ðàäíåâ <radnev_at_yahoo.com>
Âèæ è àç êàêâî ñúì íàïðàâèë, ìîæå íåùî äà òè ñâúðøè ðàáîòà.


-- 
Sava Chankov,
research and development
blueboard.biz



# 
# Copyright(c) 2003 Sava Chankov, <sava_chankov_at_abv.bg>
# This file is distributed under GPL
#

Name:         kbedic
%{!?kde:%define kde 1}
License:      GPL
Group:        /Productivity/Office/Dictionaty
Requires:     qt3
Provides:     kbedic
Obsoletes:    kbedic
Autoreqprov:  on
Summary:      English-Bulgarian-English dictionary
Version:      4.0
Release:      0
Source:       kbedic-%{version}.tar.gz
URL:          http://kbedic.sourceforge.net
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Distribution:	SuSE Linux 8.1 contrib

%description
English-Bulgarian-English dictionary

Authors:
--------
     Radostin Radnev <radnev_at_yahoo.com> 

%prep
%setup

%build
./configure \
%if %kde
--with-kde
%endif
make

<p>%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

install -d $RPM_BUILD_ROOT/usr/opt/kde3/share/icons/hicolor/32x32/apps/
install -d $RPM_BUILD_ROOT/usr/opt/kde3/share/icons/hicolor/16x16/apps/
install -m444 src/kbedic_icon.xpm $RPM_BUILD_ROOT/usr/opt/kde3/share/icons/hicolor/32x32/apps/kbedic_icon.xpm
install -m444 src/kbedic_icon_mini.xpm $RPM_BUILD_ROOT/usr/opt/kde3/share/icons/hicolor/16x16/apps/kbedic_icon_mini.xpm

%files
%defattr(-,root,root)
%doc CHANGES.BULGARIAN CHANGES.ENGLISH COPYING FAQ.BULGARIAN FAQ.ENGLISH INSTALL README-rpm.BULGARIAN README.BULGARIAN README.ENGLISH 
/usr/local/bin/kbedic
/usr/local/share/kbedic
/usr/opt/kde3/share/icons/hicolor/32x32/apps/kbedic_icon.xpm
/usr/opt/kde3/share/icons/hicolor/16x16/apps/kbedic_icon_mini.xpm

%clean
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT

%changelog 
* Mon Jul 14  2003 -  Sava Chankov <sava_chankov_at_abv.bg>
- updated to 4.0
* Tue May 27 2003 -  Sava Chankov <sava_chankov_at_abv.bg>
- created rpm for 3.2

<p>
1. ÂÚÂÅÄÅÍÈÅ

Âúïðåêè ÷å ïàêåòúò å ñúçäàäåí è òåñòâàí íà SuSE 8.1, òîé íå å
íàñî÷åí êúì îïðåäåëåíà äèñòðèáóöèÿ. Ïî ïîäðàçáèðàíå å
èçãðàäåí ñ ïîääðúæêà íà KDE 3, òàêà ÷å àêî íå ïîëçâàòå ÊDE,
ùå òðÿáâà äà ãî èíñòàëèðàòå îò ïàêåòà ñ èçõîäåí êîä.

<p>2. ÈÍÑÒÀËÈÐÀÍÅ ÎÒ ÏÀÊÅÒÀ Ñ ÈÇÕÎÄÅÍ ÊÎÄ (SOURCE RPM)

Èçïîëçâàéòå ñëåäíàòà êîìàíäà êàòî root:

rpm -bb  kbedic-4.0-0.src.rpm

Àêî èìàòå èíñòàëèðàíî KDE 3  è èñêàòå äà ðå÷íèêúò
äà áúäå ñúâìåñòèì ñ íåãî è äà ðàáîòè êàòî KDE 3 ïðèëîæåíèå,
èçïîëçâàéòå:

rpm -bb  --define 'kde 1' kbedic-4.0-0.src.rpm

3. ÀÊÎ ÍÅÙÎ ÍÅ ÂÚÐÂÈ

Àêî èìàòå ïðîáëåìè ñ èçãðàæäàíåòî íà ïàêåòà îò èçõîäåí êîä,
ïðî÷åòåòå README.BULGARIAN (íàìèðà ñå â ñúùàòà äèðåêòîðèÿ, â
êîÿòî å è òîçè ôàéë).
Çà çàáåëåæêè, ïðîáëåìè è ïðåäëîæåíèÿ
ïðè èíñòàëèðàíåòî íà ïðîãðàìàòà îò ïàêåò, ïèøåòå ìè íà
<sava_at_blueboard.biz>

<p>============================================================================
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
============================================================================


  • Във връзка с:
  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.