2 # - use the same macros as in other gaim plugins packages
3 # - separate subpackage with backend? pam-file and init-script from gentoo is in contrib
4 # - build with guile extension and add dchub:// guile module
6 # - some findlang needed
7 Summary: Direct Connect client
12 Group: X11/Applications/Networking
13 Source0: http://www.dolda2000.com/~fredrik/doldaconnect/%{name}-%{version}.tar.gz
14 # Source0-md5: 8920593ede9d7866937cd2feb95923a8
15 #Source1: %{name}.desktop
16 URL: http://www.dolda2000.com/~fredrik/doldaconnect/
17 BuildRequires: automake
18 BuildRequires: bzip2-devel
19 BuildRequires: gaim-devel
20 BuildRequires: gnome-panel-devel
21 BuildRequires: libtool
22 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _appconfdir /etc/%{name}
28 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.
30 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:
32 * 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.
33 * A user can control his daemon from another location, such as from work, school, a friend, etc.
35 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.
38 Summary: Libraries for %{name}
42 Libraries for %{name}.
44 %package -n gaim-plugin-%{name}
45 Summary: Gaim plugin for %{name}
46 Group: Applications/Communications
47 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
49 %description -n gaim-plugin-%{name}
50 Gaim plugin for %{name}.
53 Summary: %{name} library header files
54 Group: Development/Libraries
55 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
58 %{name} library header files.
61 Summary: Static %{name} library
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
66 Static %{name} library.
73 --sysconfdir=%{_appconfdir} \
77 --enable-gnomeapplet \
83 rm -rf $RPM_BUILD_ROOT
84 #install -d $RPM_BUILD_ROOT%{_desktopdir}
87 DESTDIR=$RPM_BUILD_ROOT
89 #install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
94 rm -rf $RPM_BUILD_ROOT
96 %post libs -p /sbin/ldconfig
97 %postun libs -p /sbin/ldconfig
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog INSTALL README
103 %config(noreplace) %{_appconfdir}/*
104 %attr(755,root,root) %{_bindir}/*
105 %attr(755,root,root) %{_libdir}/bonobo/servers/*.server
106 %attr(755,root,root) %{_libdir}/dolcon-trans-applet
107 %attr(755,root,root) %{_libdir}/speedrec
108 #%{_desktopdir}/%{name}.desktop
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/*.so.*.*.*
115 %files -n gaim-plugin-%{name}
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/gaim/libdolcon-gaim.so
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so
123 %dir %{_includedir}/%{name}
124 %{_includedir}/%{name}/*.h
127 %defattr(644,root,root,755)