SPECS: doldaconnect.spec - use epoch only if defined - macros and ...

glen glen at pld-linux.org
Fri Sep 8 00:36:56 CEST 2006


Author: glen                         Date: Thu Sep  7 22:36:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use epoch only if defined
- macros and deps for initscript (should there be package R: for daemon?)
- adapter

---- Files affected:
SPECS:
   doldaconnect.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/doldaconnect.spec
diff -u SPECS/doldaconnect.spec:1.7 SPECS/doldaconnect.spec:1.8
--- SPECS/doldaconnect.spec:1.7	Thu Sep  7 22:59:51 2006
+++ SPECS/doldaconnect.spec	Fri Sep  8 00:36:50 2006
@@ -20,20 +20,41 @@
 BuildRequires:	gnome-panel-devel
 BuildRequires:	guile-devel
 BuildRequires:	libtool
-Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_appconfdir	/etc/%{name}
 
 %description
-Dolda Connect is a client program for the Direct Connect peer-to-peer filesharing network, written for GNU/Linux systems. It is possible that it may run on other Unix systems as well, as long as it is compiled with GCC, but this is untested so far. It is licensed under the GPL, version 2 or later.
-
-It consists of two parts - the client daemon and the user interface. The daemon is what does all the job of sharing files, searching, connecting to hubs, etc., while the user interface is a simple program that connects to the daemon in order to control it and give the user the current status of the daemon (such as the file transfers currently in progress, etc.). These two program run independently of each other, and the user interface can therefore be made to connect to a daemon running on another computer, over the internet or otherwise. For the average user, this yields two primary advantages:
-
- * The daemon can be made to run on another computer, which can be on all the time (a server, if you will), while the user interface can run on the user's workstation. That way, the user can turn off his workstation at night, while the server will continue all transfers in progress during that time.
- * A user can control his daemon from another location, such as from work, school, a friend, etc.
-
-This architecture also has many other advantages in store for the more advanced users; since the user interface communicates with the daemon using a well-defined protocol, other user interfaces can be written, such as an automatic downloader, a chatbot, etc. It is also designed for secure multiuser operation.
+Dolda Connect is a client program for the Direct Connect peer-to-peer
+filesharing network, written for GNU/Linux systems. It is possible
+that it may run on other Unix systems as well, as long as it is
+compiled with GCC, but this is untested so far.
+
+It consists of two parts - the client daemon and the user interface.
+The daemon is what does all the job of sharing files, searching,
+connecting to hubs, etc., while the user interface is a simple program
+that connects to the daemon in order to control it and give the user
+the current status of the daemon (such as the file transfers currently
+in progress, etc.). These two program run independently of each other,
+and the user interface can therefore be made to connect to a daemon
+running on another computer, over the internet or otherwise. For the
+average user, this yields two primary advantages:
+
+- The daemon can be made to run on another computer, which can be on
+  all the time (a server, if you will), while the user interface can run
+  on the user's workstation. That way, the user can turn off his
+  workstation at night, while the server will continue all transfers in
+  progress during that time.
+- A user can control his daemon from another location, such as from
+  work, school, a friend, etc.
+
+This architecture also has many other advantages in store for the more
+advanced users; since the user interface communicates with the daemon
+using a well-defined protocol, other user interfaces can be written,
+such as an automatic downloader, a chatbot, etc. It is also designed
+for secure multiuser operation.
 
 %package libs
 Summary:	Libraries for %{name}
@@ -46,6 +67,7 @@
 Summary:	Daemon for %{name}
 Group:		Daemons
 Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
 
 %description -n doldacond
 Daemon for %{name} that handles all of the network connections.
@@ -53,7 +75,7 @@
 %package -n gaim-plugin-%{name}
 Summary:	Gaim plugin for %{name}
 Group:		Applications/Communications
-Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description -n gaim-plugin-%{name}
 Gaim plugin for %{name}.
@@ -61,15 +83,15 @@
 %package devel
 Summary:	%{name} library header files
 Group:		Development/Libraries
-Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
 %{name} library header files.
 
 %package static
-Summary:        Static %{name} library
+Summary:	Static %{name} library
 Group:		Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Static %{name} library.
@@ -118,7 +140,6 @@
 	/sbin/chkconfig --del doldacond
 fi
 
-
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/dolcon
@@ -134,7 +155,7 @@
 
 %files -n doldacond
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog INSTALL README 
+%doc AUTHORS ChangeLog INSTALL README
 %dir %{_appconfdir}
 %config(noreplace) %verify(not md5 mtime size) %{_appconfdir}/*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/doldacond
@@ -165,6 +186,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/09/07 22:36:50  glen
+- use epoch only if defined
+- macros and deps for initscript (should there be package R: for daemon?)
+- adapter
+
 Revision 1.7  2006/09/07 20:59:51  blues
 - init script and pam file
 
@@ -185,4 +211,3 @@
 
 Revision 1.1  2006/09/06 20:32:20  blues
 - initial, NFY, DC++ GUI clone, with frontend-backend architecture
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/doldaconnect.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list