Checked in RPM specfile.
[doldaconnect.git] / doldaconnect.spec.in
CommitLineData
ad5772b6
FT
1# RPC specfile for Fedora
2Name: doldaconnect
3Version: @VERSION@
4Release: 1
5License: GPL v2+
6Group: Productivity/Networking/Other
7Summary: Direct Connect client
8Source0: http://www.dolda2000.com/~fredrik/doldaconnect/%{name}-%{version}.tar.gz
9URL: http://www.dolda2000.com/~fredrik/doldaconnect/
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12%description
13Dolda Connect is a client program for the Direct Connect peer-to-peer
14filesharing network. It is written so that the user interface is
15separated from the actual filesharing program, so that the user
16interface can run on a different computer over the network, and can be
17shut down temporarily (or only started temporarily), and can be
18replaced altogether.
19
20The protocol with which the user interface talks with the actual
21client is also quite well defined, so that other kinds of clients can
22be written as well, such as an automatic downloader, a chatbot,
23etc. It can also be used in secure multiuser operation.
24
25%package libs
26Summary: %{name} libraries
27Group: Libraries
28
29%description libs
30Shared libraries for %{name}.
31
32%package devel
33Summary: Development files for %{name}.
34Group: Development/Libraries
35
36%description devel
37Header files and development libraries for %{name}.
38
39%package -n doldacond
40Summary: The daemon in %{name}.
41Group: Daemons
42Requires(post,preun): /sbin/chkconfig
43Requires: rc-scripts
44
45%description -n doldacond
46Daemon 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
58rm -rf "$RPM_BUILD_ROOT"
59mkdir "$RPM_BUILD_ROOT"
60make install DESTDIR="$RPM_BUILD_ROOT"
61rm -f "$RPM_BUILD_ROOT"%{_libdir}/gaim/*.a
62
63%find_lang %{name}
64
65%clean
66rm -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.