SPECS: kbfx.spec - up to 0.4.8rc1

Bartosz Świątek swiatek w informatik.hu-berlin.de
Czw, 10 Lis 2005, 10:06:42 CET


Dnia czwartek, 10 listopada 2005 07:50, Jakub Bogusz napisał(a):
> On Thu, Nov 10, 2005 at 01:16:41AM +0100, Bartosz Świątek wrote:
> > Dnia czwartek, 10 listopada 2005 01:00, Lukasz Glebicki napisał(a):
> > > On Thursday 10 of November 2005 00:41, Bartosz Świątek wrote:
> > > > Jak w temacie. W rzeczywistości kbfx jest w wersji 0.4.x nie 4.x.
> > > >
> > > > +Version:       0.4.8rc1
> > >
> > > Skoro to poprawna wersja, to dajesz Epoch 1, a jak rc to definiujesz
> > > sobie zmienną np. %define  _RC  rc1	i dajesz
> > >
> > > >  Release:       1
> > >
> > > Release 0.%{_RC}.1
> > > [...]
> > >
> > > > -%find_lang %{name} --with-kde
> > > > +#%find_lang %{name} --with-kde
> > >
> > > A to czemu?
> > >
> > > pozdrawiam
> >
> > Bo nie ma lang files dla kbfx w tej wersji. Chyba, że o czymś nie wiem.
> > Ale budowałem z tym to jest error.
>
> To dlaczego wrzucać niepełnosprawną wersję rc?

Masz rację. Pliki lang byly. Zapomniałem po prostu, że kbfx -> kbfxvista.
Poprawiłem (chyba) wszystkie wasze sugestie.
_______

--- kbfx.spec   2005-11-10 00:38:41.000000000 +0100
+++ kbfx-shad.spec      2005-11-10 10:04:20.000000000 +0100
@@ -1,13 +1,17 @@
 # $Revision: 1.4 $, $Date: 2005/10/05 10:34:03 $
+
+%define        _RC     rc1
+
 Summary:       Kicker bar enhancement for KDE
 Summary(pl):   Rozszerzenie paska Kickera dla KDE
 Name:          kbfx
-Version:       4.7.3
-Release:       1
+Version:       0.4.8
+Release:       0.%{_RC}.1
+Epoch:         1
 License:       GPL
 Group:         X11/Applications
-Source0:       
http://www.linuxlots.com/~siraj/kde/plugin/%{name}-%{version}.tar.bz2
-# Source0-md5: 2709e4bf4d7a332603f210a1650b6fa1
+Source0:       
http://www.linuxlots.com/~siraj/kde/plugin/%{name}-%{version}%{_RC}.tar.bz2
+# Source0-md5: 5a811935b89f521f5d136232de904e07
 URL:           http://www.linuxlots.com/~siraj/kde/plugin/home/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -29,7 +33,7 @@
 Sukcesem kbfx była współpraca ze strony miłośników KDE i artystów.

 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_RC}

 %build
 cp -f /usr/share/automake/config.sub admin
@@ -52,9 +56,9 @@
        kde_libs_htmldir=%{_kdedocdir} \
        kdelnkdir=%{_desktopdir} \

-install src/kbfx.desktop $RPM_BUILD_ROOT%{_desktopdir}
+install kbfxvista/kbfxvista.desktop $RPM_BUILD_ROOT%{_desktopdir}

-%find_lang %{name} --with-kde
+%find_lang %{name}vista --with-kde

 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -62,12 +66,18 @@
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig

-%files -f %{name}.lang
+%files -f %{name}vista.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libkbfx.so
-%{_libdir}/libkbfx.la
-%{_datadir}/apps/kicker/applets/kbfx.desktop
-%{_desktopdir}/kbfx.desktop
+%attr(755,root,root) %{_libdir}/libkbfxvista.so
+%attr(755,root,root) %{_libdir}/libkbfxvista.so
+%attr(755,root,root) %{_libdir}/kde3/kcm_kcmkbfx.so
+%{_libdir}/libkbfxvista.la
+%{_libdir}/kde3/kcm_kcmkbfx.la
+%{_datadir}/apps/kicker/applets/kbfxvista.desktop
+%{_datadir}/applications/kbfxvista.desktop
+%{_datadir}/applications/kde/kcmkbfx.desktop
+%{_datadir}/config.kcfg/kbfx.kcfg
+%{_desktopdir}/kbfxvista.desktop

 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog



Więcej informacji o liście dyskusyjnej pld-devel-pl