[openrdate] Initial packaging

Honza Horak hhorak at fedoraproject.org
Mon Jun 3 12:03:22 UTC 2013


commit 30cc3f5364befd2d184550fb65491b2cd9b4388f
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Jun 3 14:02:19 2013 +0200

    Initial packaging

 .gitignore     |    1 +
 openrdate.spec |   39 +++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..53441fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openrdate-1.2.tar.gz
diff --git a/openrdate.spec b/openrdate.spec
new file mode 100644
index 0000000..8bd7180
--- /dev/null
+++ b/openrdate.spec
@@ -0,0 +1,39 @@
+Name:		openrdate
+Version:	1.2
+Release:	2%{?dist}
+Summary:	Good-old rdate date and time-setting software
+Group:		Applications/System
+License:	BSD and BSD with advertising
+URL:		http://sourceforge.net/projects/openrdate
+Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# openrdate-1.2-1 replaces rdate-1.4-23, which does not have active upstream
+Provides:	rdate = %{version}-%{release}
+Obsoletes:	rdate < 1.4-24
+
+%description
+Good-old date- and time-setting rdate software implementing RFC 868
+(inetd time) and RFC 2030 (SNTP/NTP) protocols. An independent package
+of OpenBSD's rdate program.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+
+%files
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{_bindir}/rdate
+%{_mandir}/man8/rdate.8*
+
+%changelog
+* Fri May 31 2013 Honza Horak <hhorak at redhat.com> - 1.2-2
+- Fix issues found by Package Review
+
+* Mon May 27 2013 Honza Horak <hhorak at redhat.com> - 1.2-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..6bf3a2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad9bd58e1fb7babc74d0a0a16a1248a2  openrdate-1.2.tar.gz


More information about the scm-commits mailing list