Summary: Sobby network editor server Summary(pl.UTF-8): Sobby - serwer edytora sieciowego Name: sobby Version: 0.4.3 Release: 1 License: BSD Group: Applications/Editors Source0: http://releases.0x539.de/sobby/%{name}-%{version}.tar.gz # Source0-md5: 90fd8c4935d71ec0458ff0378d53a3bf Source1: %{name}.init URL: http://sobby.0x539.de/ BuildRequires: obby-devel >= 0.4.3 BuildRequires: slang-devel Requires(post,preun): /sbin/chkconfig Requires: rc-scripts BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Sobby network editor server. %description -l pl.UTF-8 Sobby - serwer edytora sieciowego. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} %post /sbin/chkconfig --add sobby %service sobby restart %preun if [ "$1" = "0" ]; then %service sobby stop /sbin/chkconfig --del sobby fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/* %attr(754,root,root) /etc/rc.d/init.d/%{name} %{_mandir}/man1/*.1*