Zamieszczam pliki spec do nowych pakietów: sword i bibletime.

# $Revision:$, $Date:$
Summary:        Software framework that allows research manipulation of 
Biblical  
texts
Summary(pl.UTF-8):      Szkielet m.in do programów Bibletime i GnomeSword  
pozwalających na zaawansowane studia nad Biblią.
Name:           sword
Version:        1.5
Release:        9
License:        GPL v2
Group:          Applications
Source0:        
http://www.crosswire.org/ftpmirror/pub/sword/source/v%{version}/%{name}-%{version}.%{release}.tar.gz
# Source0-md5:  e1f1af8c2add8310d0bbcddc9af523b8
URL:            http://www.crosswire.org/sword/
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Software framework that allows research manipulation of Biblical
texts.

%description -l pl.UTF-8
Szkielet m.in do programów Bibletime i GnomeSword pozwalających na
zaawansowane studia nad Biblią.

%prep
%setup -q -n %{name}-%{version}.%{release}

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
         DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sword.conf
%{_includedir}/*
%{_libdir}/*
%{_datadir}/sword

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$


# $Revision:$, $Date:$
Summary:        BibleTime is a Bible study application based on KDE 3.3 or later
Summary(pl.UTF-8):      BibleTime jest zaawansowanym, nowoczesnym linuksowym  
programem biblijnym, opartym na KDE 3.3 i późniejszym.
Name:           bibletime
Version:        1.6.4
Release:        1
License:        GPL v2
Group:          Applications
Source0:        http://dl.sourceforge.net/bibletime/%{name}-%{version}.tar.bz2
# Source0-md5:  7fb1219dfa53bc956d77dccff99f3eaa
URL:            http://bibletime.info/
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)


%description
BibleTime is a Bible study application for Linux. It is based on the K
Desktop Environment and uses the Sword programming library to work
with Bible texts, commentaries, dictionaries and books provided by the
Crosswire Bible Society.

%description -l pl.UTF-8
BibleTime jest linuksowym programem do studiowania Biblii. Oparty jest
na KDE i używa bibliotek Sword do pracy nad tekstami biblijnymi,
komentarzami, słownikami i książkami dostarczonymi przez Crosswire
Bible Society.

%package devel
Summary:        Header files for BibleTime
Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki CLucene
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       libstdc++-devel

%description devel
Header files for BibleTime library.

%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki Bibletime.

%prep
%setup -q

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
         DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/*
%{_libdir}/*
%{_datadir}/*

%files devel
%defattr(644,root,root,755)
%{_includedir}/*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$

i jeszcze małą poprawkę do cluence-core.spec, ta w cvsie nie pakuje linków  
symbolicznych do rpm, co uniemożliwia zbudowanie bibletime, wywala się na  
./configure. Moje poprawki:

--- clucene-core.spec   2007-08-19 22:28:31.949140195 +0200
+++ clucene-core1.spec  2007-08-19 15:32:55.753313215 +0200
@@ -75,7 +75,7 @@
  %files
  %defattr(644,root,root,755)
  %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%attr(755,root,root) %{_libdir}/*.so*
  %{_libdir}/*.la

  %files devel

_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym