summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhunter2001-11-17 01:28:39 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit377d5be1daef5f9f69e05a41469dc41dc3df8483 (patch)
tree9c94f3bf4b19dcc64b10b31276719be1456caca6
downloadhxd-377d5be1daef5f9f69e05a41469dc41dc3df8483.zip
hxd-377d5be1daef5f9f69e05a41469dc41dc3df8483.tar.gz
--initial PLD release, server for hotline
--STBR Changed files: hxd.spec -> 1.1
-rw-r--r--hxd.spec57
1 files changed, 57 insertions, 0 deletions
diff --git a/hxd.spec b/hxd.spec
new file mode 100644
index 0000000..f0ed0dd
--- /dev/null
+++ b/hxd.spec
@@ -0,0 +1,57 @@
+# Conditional build:
+# _without_tracker_registration -build without supporting registration with a tracker
+# _without_find -build without suppor for /find & /exec
+# _with_client -build with client
+
+Summary: HotlineX (hx) serwer
+Summary(pl): HotlineX (hx) Server hotline
+Name: hxd
+Version: 0.1.39
+Release: 1
+License: GPL
+Group: Networking/Utilities
+Group(de): Netzwerkwesen/Werkzeuge
+Group(pl): Sieciowe/Narzędzia
+Source0: http://hx.fortyoz.org/%{name}-%{version}.tar.gz
+URL: http://hx.fortyoz.org/
+%{?_with_client:BuildRequires: libreadline-devel}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HotlineX (hx) is an implementation of the Hotline protocol for un*x
+based systems.
+
+%description(pl)
+Jest to pakiet pozwalający na udostępnianie zasobów hotline pod
+systemami z X w nazwie, BSD też się liczą.
+
+%prep
+rm -rf $RPM_BUILD_ROOT
+
+%setup -q
+
+%build
+CFLAGS="%{rpmcflags}"
+LDFLAGS=%{rpmldflags}
+./configure --prefix=%{_prefix} \
+%{!?_without_tracker_registration --enable-tracker-register \ }
+%{!?_without_tracker_registration --enable-exec \ }
+%{?_with_client --enable-hotline-client }
+# --with-socks
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#install -m755 -d $RPM_BUILD_ROOT%{_datadir}/{bin,man/man1}
+install -m 755 -d $RPM_BUILD_ROOT%{_bindir}/
+install -m 755 hxd $RPM_BUILD_ROOT%{_bindir}/
+#install $RPM_BUILD_ROOT%{_mandir}/man1/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES PROBLEMS README*
+%attr(755,root,root) %{_bindir}/*
+#%{_mandir}/man1/*