]> git.pld-linux.org Git - packages/doldaconnect.git/blame - doldaconnect.spec
- typo
[packages/doldaconnect.git] / doldaconnect.spec
CommitLineData
127e6dd4 1# TODO:
82bc0e6f 2# - use the same macros as in other gaim plugins packages
127e6dd4
PG
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
5# - add desktop
6# - some findlang needed
14c2f8bb
PG
7Summary: Direct Connect client
8Name: doldaconnect
9Version: 0.1
93b204d6 10Release: 0.4
14c2f8bb
PG
11License: GPL v2
12Group: X11/Applications/Networking
13Source0: http://www.dolda2000.com/~fredrik/doldaconnect/%{name}-%{version}.tar.gz
14# Source0-md5: 8920593ede9d7866937cd2feb95923a8
15#Source1: %{name}.desktop
14c2f8bb
PG
16URL: http://www.dolda2000.com/~fredrik/doldaconnect/
17BuildRequires: automake
18BuildRequires: bzip2-devel
127e6dd4 19BuildRequires: gaim-devel
14c2f8bb
PG
20BuildRequires: gnome-panel-devel
21BuildRequires: libtool
1cec06ba 22Requires: %{name}-libs = %{epoch}:%{version}-%{release}
14c2f8bb
PG
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
127e6dd4
PG
25%define _appconfdir /etc/%{name}
26
14c2f8bb
PG
27%description
28Dolda 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.
29
30It 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:
31
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.
34
35This 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.
36
1cec06ba
PG
37%package libs
38Summary: Libraries for %{name}
39Group: Libraries
40
41%description libs
42Libraries for %{name}.
43
82bc0e6f
PG
44%package -n gaim-plugin-%{name}
45Summary: Gaim plugin for %{name}
46Group: Applications/Communications
47Requires: %{name}-libs = %{epoch}:%{version}-%{release}
48
49%description -n gaim-plugin-%{name}
50Gaim plugin for %{name}.
51
1cec06ba
PG
52%package devel
53Summary: %{name} library header files
54Group: Development/Libraries
55Requires: %{name}-libs = %{epoch}:%{version}-%{release}
56
57%description devel
58%{name} library header files.
59
60%package static
61Summary: Static %{name} library
62Group: Development/Libraries
63Requires: %{name}-devel = %{epoch}:%{version}-%{release}
64
65%description static
66Static %{name} library.
67
14c2f8bb
PG
68%prep
69%setup -q
70
71%build
72%configure \
127e6dd4 73 --sysconfdir=%{_appconfdir} \
14c2f8bb
PG
74 --disable-rpath \
75 --enable-gtk2ui \
76 --enable-gtk2pbar \
77 --enable-gnomeapplet \
78 --enable-gaimplugin
79
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
127e6dd4 84#install -d $RPM_BUILD_ROOT%{_desktopdir}
14c2f8bb
PG
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89#install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
14c2f8bb 90
82bc0e6f
PG
91%find_lang %{name}
92
14c2f8bb
PG
93%clean
94rm -rf $RPM_BUILD_ROOT
95
1cec06ba
PG
96%post libs -p /sbin/ldconfig
97%postun libs -p /sbin/ldconfig
98
82bc0e6f 99%files -f %{name}.lang
14c2f8bb 100%defattr(644,root,root,755)
127e6dd4
PG
101%doc AUTHORS ChangeLog INSTALL README
102%dir %{_appconfdir}
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
127e6dd4 107%attr(755,root,root) %{_libdir}/speedrec
14c2f8bb 108#%{_desktopdir}/%{name}.desktop
127e6dd4 109%{_pixmapsdir}/*.jpg
1cec06ba
PG
110
111%files libs
112%defattr(644,root,root,755)
113%attr(755,root,root) %{_libdir}/*.so.*.*.*
114
82bc0e6f
PG
115%files -n gaim-plugin-%{name}
116%defattr(644,root,root,755)
117%attr(755,root,root) %{_libdir}/gaim/libdolcon-gaim.so
118
1cec06ba
PG
119%files devel
120%defattr(644,root,root,755)
121%attr(755,root,root) %{_libdir}/lib*.so
122%{_libdir}/lib*.la
123%dir %{_includedir}/%{name}
124%{_includedir}/%{name}/*.h
125
126%files static
127%defattr(644,root,root,755)
128%{_libdir}/lib*.a
129%{_libdir}/gaim/*.a
This page took 0.064514 seconds and 4 git commands to generate.