| 1 | # RPC specfile for Fedora |
| 2 | Name: doldaconnect |
| 3 | Version: @VERSION@ |
| 4 | Release: 1 |
| 5 | License: GPL v2+ |
| 6 | Group: Productivity/Networking/Other |
| 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 | |
| 12 | %description |
| 13 | Dolda Connect is a client program for the Direct Connect peer-to-peer |
| 14 | filesharing network. It is written so that the user interface is |
| 15 | separated from the actual filesharing program, so that the user |
| 16 | interface can run on a different computer over the network, and can be |
| 17 | shut down temporarily (or only started temporarily), and can be |
| 18 | replaced altogether. |
| 19 | |
| 20 | The protocol with which the user interface talks with the actual |
| 21 | client is also quite well defined, so that other kinds of clients can |
| 22 | be written as well, such as an automatic downloader, a chatbot, |
| 23 | etc. It can also be used in secure multiuser operation. |
| 24 | |
| 25 | %package libs |
| 26 | Summary: %{name} libraries |
| 27 | Group: Libraries |
| 28 | |
| 29 | %description libs |
| 30 | Shared libraries for %{name}. |
| 31 | |
| 32 | %package devel |
| 33 | Summary: Development files for %{name}. |
| 34 | Group: Development/Libraries |
| 35 | |
| 36 | %description devel |
| 37 | Header files and development libraries for %{name}. |
| 38 | |
| 39 | %package -n doldacond |
| 40 | Summary: The daemon in %{name}. |
| 41 | Group: Daemons |
| 42 | Requires(post,preun): /sbin/chkconfig |
| 43 | Requires: rc-scripts |
| 44 | |
| 45 | %description -n doldacond |
| 46 | Daemon for %{name} that does all the actual work of filesharing. |
| 47 | |
| 48 | %prep |
| 49 | %setup |
| 50 | |
| 51 | %build |
| 52 | %configure --sysconfdir=%{_appconfdir} --disable-rpath --with-guile \ |
| 53 | --enable-gtk2ui --enable-guishell --with-pam \ |
| 54 | --with-krb5 --enable-gnomeapplet |
| 55 | %{__make} |
| 56 | |
| 57 | %install |
| 58 | rm -rf "$RPM_BUILD_ROOT" |
| 59 | mkdir "$RPM_BUILD_ROOT" |
| 60 | make install DESTDIR="$RPM_BUILD_ROOT" |
| 61 | rm -f "$RPM_BUILD_ROOT"%{_libdir}/gaim/*.a |
| 62 | |
| 63 | %find_lang %{name} |
| 64 | |
| 65 | %clean |
| 66 | rm -rf "$RPM_BUILD_ROOT" |
| 67 | |
| 68 | %post libs -p /sbin/ldconfig |
| 69 | %postun libs -p /sbin/ldconfig |
| 70 | |
| 71 | %files |
| 72 | %defattr(-,root,root) |
| 73 | %{_bindir}/dolcon |
| 74 | %{_bindir}/dolconf |
| 75 | %{_bindir}/dolcon-launch |
| 76 | %{_bindir}/doldacond-shell |
| 77 | %{_libdir}/bonobo/servers/*.server |
| 78 | %{_libexecdir}/dolcon-trans-applet |
| 79 | %{_desktopdir}/dolcon.desktop |
| 80 | %{_iconsdir}/* |
| 81 | %doc AUTHORS ChangeLog README doc/INSTALL doc/gui-shell doc/TODO doc/protorev |
| 82 | |
| 83 | %files libs |
| 84 | %defattr(-,root,root) |
| 85 | %{_libdir}/libdcui.so.1 |
| 86 | %{_libdir}/libdcui.so.1.1.0 |
| 87 | |
| 88 | %files devel |
| 89 | %defattr(-,root,root) |
| 90 | ${_libdir}/libdcui.so |
| 91 | ${_libdir}/libdcui.la |
| 92 | %dir %{_includedir}/doldaconnect |
| 93 | %{_includedir}/doldaconnect/*.h |
| 94 | |
| 95 | %files -n doldacond |
| 96 | %dir %{_appconfdir} |
| 97 | %config(noreplace) %{_appconfdir}/* |
| 98 | %{_bindir}/doldacond |
| 99 | %{_bindir}/locktouch |
| 100 | %{_bindir}/tthsum |
| 101 | %{_libexecdir}/speedrec |
| 102 | |
| 103 | %changelog |
| 104 | * Tue Oct 16 2007 Fredrik Tolf <fredrik@dolda2000.com> |
| 105 | - Initial spec files. Quite a lot taken from the PLD specfile. |