%description devel
Header files and development libraries for %{name}.
+%package guile
+Summary: Guile module for %{name}.
+Group: Libraries
+
+%description guile
+Guile module for using the %{name} library in Scheme programs.
+
%package -n doldacond
Summary: The daemon in %{name}.
Group: Daemons
%setup
%build
+echo "rpm" >source
%configure --disable-rpath --with-guile \
--enable-gtk2ui --enable-guishell --with-pam \
--with-krb5 --enable-gnomeapplet
mkdir "$RPM_BUILD_ROOT"
make install DESTDIR="$RPM_BUILD_ROOT"
rm -f "$RPM_BUILD_ROOT"%{_libdir}/gaim/*.a
+rm -f "$RPM_BUILD_ROOT"%{_libdir}/libdolcon-guile.a
+rm -f "$RPM_BUILD_ROOT"%{_libdir}/libdolcon-guile.la
%find_lang %{name}
%{_libexecdir}/dolcon-trans-applet
%{_desktopdir}/dolcon.desktop
%{_iconsdir}/*
+%{_datadir}/locale/*/LC_MESSAGES/doldaconnect.mo
+%{_mandir}/man1/dolcon.1.gz
%doc AUTHORS ChangeLog README doc/INSTALL doc/gui-shell doc/TODO doc/protorev
%files libs
%files devel
%defattr(-,root,root)
-${_libdir}/libdcui.so
-${_libdir}/libdcui.la
+%{_libdir}/libdcui.so
+%{_libdir}/libdcui.la
+%{_libdir}/libdcui.a
%dir %{_includedir}/doldaconnect
%{_includedir}/doldaconnect/*.h
+%files guile
+%defattr(-,root,root)
+%{_libdir}/libdolcon-guile.so
+%dir %{_datadir}/guile/site/dolcon
+%{_datadir}/guile/site/dolcon/ui.scm
+%{_datadir}/guile/site/dolcon/util.scm
+%{_bindir}/autodl
+%{_bindir}/chatlog
+%{_bindir}/dcruncmd
+%{_bindir}/hubmgr
+
%files -n doldacond
%dir %{_sysconfdir}
%config(noreplace) %{_sysconfdir}/*
%{_bindir}/locktouch
%{_bindir}/tthsum
%{_libexecdir}/speedrec
+%{_mandir}/man5/doldacond.conf.5.gz
+%{_mandir}/man8/doldacond.8.gz
%changelog
* Tue Oct 16 2007 Fredrik Tolf <fredrik@dolda2000.com>