1 # RPC specfile for Fedora
6 Group: Applications/Internet
7 Summary: Direct Connect client
8 Source0: http://www.dolda2000.com/~fredrik/doldaconnect/%{name}-%{version}.tar.gz
9 URL: http://www.dolda2000.com/~fredrik/doldaconnect/
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11 Requires: %{name}-libs = %{version}-%{release}
12 Requires: %{name}-data = %{version}-%{release}
13 Requires: doldacond = %{version}-%{release}
16 Dolda Connect is a client program for the Direct Connect peer-to-peer
17 filesharing network. It is written so that the user interface is
18 separated from the actual filesharing program, so that the user
19 interface can run on a different computer over the network, and can be
20 shut down temporarily (or only started temporarily), and can be
23 The protocol with which the user interface talks with the actual
24 client is also quite well defined, so that other kinds of clients can
25 be written as well, such as an automatic downloader, a chatbot,
26 etc. It can also be used in secure multiuser operation.
29 Summary: %{name} libraries
31 Requires: krb5-libs >= 1.5
34 Shared libraries for %{name}.
37 Summary: Development files for %{name}.
38 Group: Development/Libraries
39 Requires: %{name}-libs = %{version}-%{release}
42 Header files and development libraries for %{name}.
45 Summary: Guile module for %{name}.
47 Requires: %{name}-libs = %{version}-%{release}
48 Requires: guile >= 1.8.0
51 Guile module for using the %{name} library in Scheme programs.
54 Summary: GNOME applet for %{name}
55 Group: Applications/Internet
56 Requires: %{name}-libs = %{version}-%{release}
57 Requires: %{name}-data = %{version}-%{release}
60 A GNOME applet for checking the status of transfers in %{name}.
63 Summary: Common data files for %{name}
64 Group: Applications/Internet
67 This package contains common data files for other %{name} packages.
70 Summary: The Gtk client in %{name}.
71 Group: Applications/Internet
72 Requires: %{name}-libs = %{version}-%{release}
73 Requires: %{name}-data = %{version}-%{release}
76 %description -n dolcon
77 This package contains only the Gtk client for %{name}, so that it can
78 be used without using a local server.
81 Summary: The daemon in %{name}.
83 Requires(post,preun): /sbin/chkconfig
85 Requires: krb5-libs >= 1.5
86 Requires: gdbm >= 1.8.0
88 %description -n doldacond
89 Daemon for %{name} that does all the actual work of filesharing.
95 echo "rpm" %{release} >source
96 %configure --disable-rpath --with-guile \
97 --enable-gtk2ui --enable-guishell --with-pam \
98 --with-krb5 --enable-gnomeapplet --without-keyutils
102 rm -rf "$RPM_BUILD_ROOT"
103 mkdir "$RPM_BUILD_ROOT"
104 make install DESTDIR="$RPM_BUILD_ROOT"
105 install -D -m 644 contrib/pam.d-doldacond "$RPM_BUILD_ROOT"%{_sysconfdir}/pam.d/doldacond
106 install -D contrib/fedora-init.d-doldacond "$RPM_BUILD_ROOT"%{_initrddir}/doldacond
107 rm -f "$RPM_BUILD_ROOT"%{_libdir}/gaim/*.a
108 rm -f "$RPM_BUILD_ROOT"%{_libdir}/libdolcon-guile.a
109 rm -f "$RPM_BUILD_ROOT"%{_libdir}/libdolcon-guile.la
114 rm -rf "$RPM_BUILD_ROOT"
116 %post libs -p /sbin/ldconfig
117 %postun libs -p /sbin/ldconfig
120 %defattr(-,root,root)
123 %{_bindir}/dolcon-launch
124 %{_bindir}/doldacond-shell
125 %{_desktopdir}/dolcon.desktop
126 %{_mandir}/man1/dolcon.1.gz
129 %{_libdir}/bonobo/servers/*.server
130 %{_libexecdir}/dolcon-trans-applet
134 %{_datadir}/locale/*/LC_MESSAGES/doldaconnect.mo
135 %doc AUTHORS ChangeLog README doc/INSTALL doc/gui-shell doc/TODO doc/protorev
138 %defattr(-,root,root)
139 %{_libdir}/libdcui.so.1
140 %{_libdir}/libdcui.so.1.1.0
143 %defattr(-,root,root)
144 %{_libdir}/libdcui.so
145 %{_libdir}/libdcui.la
147 %dir %{_includedir}/doldaconnect
148 %{_includedir}/doldaconnect/*.h
151 %defattr(-,root,root)
152 %{_libdir}/libdolcon-guile.so
153 %dir %{_datadir}/guile/site/dolcon
154 %{_datadir}/guile/site/dolcon/ui.scm
155 %{_datadir}/guile/site/dolcon/util.scm
163 %config(noreplace) %{_sysconfdir}/*
167 %{_libexecdir}/speedrec
168 %{_mandir}/man5/doldacond.conf.5.gz
169 %{_mandir}/man8/doldacond.8.gz
172 /sbin/chkconfig --add doldacond
175 %service doldacond stop
176 /sbin/chkconfig --del doldacond
180 %{_mandir}/man1/dolcon.1.gz
183 * Tue Oct 16 2007 Fredrik Tolf <fredrik@dolda2000.com>
184 - Initial spec file. Quite a lot taken from the PLD specfile.