openspace.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Mon Jun 19 11:42:13 CEST 2006


ponownie openspace i libssh. jeżeli nie ma błędow to proszę o commit
poza tym proszÄ™ o: cp openspace.spec,v nao.spec,v
ponieważ projekt zmienił nazwę.
-------------- next part --------------
--- openspace.spec.old	2006-05-27 18:12:58.000000000 +0200
+++ openspace.spec	2006-06-08 15:47:15.000000000 +0200
@@ -1,27 +1,29 @@
 # $Revision: 1.6 $, $Date: 2006/04/09 10:36:26 $
-Summary:	OpenSpace - powerful and flexible file manager
-Summary(pl):	OpenSpace - potê¿ny i elastyczny zarz±dca plików
-Name:		openspace
-Version:	0.2.0
+Summary:	nao - powerful and flexible file manager
+Summary(pl):	nao - potê¿ny i elastyczny zarz±dca plików
+Name:		nao
+Version:	0.2.1
 Release:	1
 License:	GPL
 Group:		X11/Applications
-Source0:	http://www.openspace.linux.pl/data/%{name}-%{version}.tar.bz2
-# Source0-md5:	4ee22fba25dffe24f668054844843549
-URL:		http://www.openspace.linux.pl/
+Source0:	http://nao.linux.pl/data/%{name}-%{version}.tar.bz2
+# Source0-md5:	55cb4f2447e0ccfa37ba0ad13eb74c03
+URL:		http://nao.linux.pl/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	fox-devel >= 1.4.0
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel
 BuildRequires:	libpng-devel
+BuildRequires:	libssh-devel
 Requires:	fox >= 1.4.0
+Obsoletes:      openspace
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-OpenSpace is powerful, flexible, and utterly configurable file manager
+nao is powerful, flexible, and utterly configurable file manager
 for UNIX systems, written using the FOX toolkit. Main features of
-OpenSpace are:
+nao are:
 
  - Support for two panel view and single panel view.
  - Graphically configurable.
@@ -37,7 +39,7 @@
  - Drag and Drop support compatible with KDE and GNOME applications.
 
 %description -l pl
-OpenSpace jest potê¿nym, elastycznym oraz ca³kowicie konfigurowalnym
+nao jest potê¿nym, elastycznym oraz ca³kowicie konfigurowalnym
 zarz±dc± plików dla systemów uniksowych, napisanym przy u¿yciu
 biblioteki FOX. G³ówne jego cechy to:
 
@@ -78,7 +80,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/openspacerc
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nao.conf
 %{_sysconfdir}/mimeapp
 %attr(755,root,root) %{_bindir}/%{name}
 %{_libdir}/%{name}

-------------- next part --------------
# $Revision: $, $Date: $
Summary:	Library implementing the SSH protocol
Summary(pl):	Biblioteka implementuj±ca protokó³ SSH
Name:		libssh
Version:	0.11
Release:	1
License:	LGPL
Group:		Libraries
Source0:	http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
# Source0-md5:	ad703c4702646c83ca4fcace92c220d3
Patch0:		%{name}-makefile.patch
URL:		http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	intltool
BuildRequires:	libmagic-devel
BuildRequires:	libtool
BuildRequires:	openssl-devel
BuildRequires:	zlib-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
The ssh library was designed to be used by programmers needing a
working SSH implementation by the mean of a library. The complete
control of the client is made by the programmer. With libssh, you can
remotely execute programs, transfer files, use a secure and
transparent tunnel for your remote programs. With its Secure FTP
implementation, you can play with remote files easily, without
third-party programs others than libcrypto (from openssl).

%description -l pl
Biblioteka ssh zosta³a zaprojektowana do u¿ywania przez programistów
potrzebuj±cych dzia³aj±cej implementacji SSH w postaci biblioteki. Za
pomoc± libssh mo¿na przesy³aæ pliki, zdalnie uruchamiaæ programy b±d¼
te¿ tworzyæ na ich potrzeby bezpieczne i przezroczyste tunele. Dziêki
zawartej implementacji protoko³u Secure FTP programista ma mo¿liwo¶æ
³atwego wykonywania operacji na zdalnych plikach bez konieczno¶ci
korzystania z dodatkowego zewnêtrznego oprogramowania poza bibliotek±
libcrypto (pakiet openssl).

%package devel
Summary:	Header files for libssh library
Summary(pl):	Pliki nag³ówkowe biblioteki libssh
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}

%description devel
Header files for libssh library.

%description devel -l pl
Pliki nag³ówkowe biblioteki libssh.

%prep
%setup -q
%patch0 -p1

mkdir po

%build
%{__intltoolize}
%{__gettextize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__autoheader}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_prefix}/lib

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_libdir}/lib*.so

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

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

$Log: libssh.spec,v $


-------------- next part --------------
--- libssh-0.11/Makefile.in~	2005-03-04 20:54:59.000000000 +0100
+++ libssh-0.11/Makefile.in	2006-05-27 18:30:21.000000000 +0200
@@ -37,10 +37,6 @@
 	mkdir $(DISTLIB)
 	cp Makefile.in configure.in configure config.h.in install-sh \
 	mkinstalldirs config.sub config.guess $(DISTLIB)
-	mkdir $(DISTLIB)/libssh
-	mkdir $(DISTLIB)/include
-	mkdir $(DISTLIB)/include/libssh
-	mkdir $(DISTLIB)/doc
 	cp libssh/Makefile.in $(DISTLIB)/libssh/
 	cp libssh/*.c $(DISTLIB)/libssh/
 	cp include/libssh/libssh.h include/libssh/sftp.h \
@@ -55,12 +51,12 @@
 	  (cd $$dir && $(MAKE) install) \
 	  || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
 	done && test -z "$$fail"
-	$(top_srcdir)/mkinstalldirs $(incldir)/libssh
-	$(INSTALL) include/libssh/libssh.h $(incldir)/libssh/
-	$(INSTALL) include/libssh/config.h $(incldir)/libssh/
-	$(INSTALL) include/libssh/sftp.h $(incldir)/libssh/
-	$(INSTALL) include/libssh/crypto.h $(incldir)/libssh/
-	$(INSTALL) include/libssh/server.h $(incldir)/libssh/
+	$(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)/libssh
+	$(INSTALL) include/libssh/libssh.h $(DESTDIR)$(incldir)/libssh/
+	$(INSTALL) include/libssh/config.h $(DESTDIR)$(incldir)/libssh/
+	$(INSTALL) include/libssh/sftp.h $(DESTDIR)$(incldir)/libssh/
+	$(INSTALL) include/libssh/crypto.h $(DESTDIR)$(incldir)/libssh/
+	$(INSTALL) include/libssh/server.h $(DESTDIR)$(incldir)/libssh/
 clean:
 	/bin/rm -f *~ *.o ssh sftp
 	@for dir in ${subdirs}; do \
--- libssh-0.11/libssh/Makefile.in~	2006-05-27 12:40:30.000000000 +0200
+++ libssh-0.11/libssh/Makefile.in	2006-05-27 12:42:55.000000000 +0200
@@ -35,7 +35,7 @@
 install: all
 	$(top_srcdir)/mkinstalldirs $(incldir)
 	$(top_srcdir)/mkinstalldirs $(libdir)
-	$(INSTALL) libssh.$(DYLIB_EXTENSION) $(libdir)
+	$(INSTALL) libssh.$(DYLIB_EXTENSION) $(DESTDIR)$(libdir)
 clean:
 	rm -f *~ libssh.a libssh.so *.o
 distclean: clean



More information about the pld-devel-pl mailing list