npmccallum pushed to petera (master). "Initial commit"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed May 13 02:27:13 UTC 2015
From fe818be8153422fa6e2f6519b87e69610d880768 Mon Sep 17 00:00:00 2001
From: Nathaniel McCallum <nathaniel at themccallums.org>
Date: Tue, 12 May 2015 22:26:41 -0400
Subject: Initial commit
diff --git a/.gitignore b/.gitignore
index e69de29..eddbb47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/petera-0.1.tar.gz
diff --git a/petera.spec b/petera.spec
new file mode 100644
index 0000000..6aec0d3
--- /dev/null
+++ b/petera.spec
@@ -0,0 +1,59 @@
+Name: petera
+Version: 0.1
+Release: 1%{?dist}
+Summary: Client used for binding data and disks to a network
+
+License: GPLv3+
+URL: https://github.com/npmccallum/%{name}
+Source0: %{url}/releases/download/r%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: cryptsetup-devel
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRequires: systemd
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+%description
+Client used for binding data and disks to a network.
+
+%package server
+Summary: Server used for binding data and disks to a network
+
+%description server
+Server used for binding data and disks to a network.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+%post
+%systemd_post petera.socket petera.service
+
+%preun
+%systemd_preun petera.socket petera.service
+
+%postun
+%systemd_postun_with_restart petera.socket petera.service
+
+%files
+%doc COPYING
+%{_bindir}/%{name}
+
+%files server
+%doc COPYING
+%{_bindir}/%{name}d
+%{_unitdir}/peterad.service
+%{_unitdir}/peterad.socket
+
+%changelog
+* Fri May 8 2015 Nathaniel McCallum <npmccallum at redhat.com> - 0.1-1
+- Initial release
diff --git a/sources b/sources
index e69de29..280bba3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+19a5eed420cc7e06db094be02fcdeac4 petera-0.1.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/petera.git/commit/?h=master&id=fe818be8153422fa6e2f6519b87e69610d880768
More information about the scm-commits
mailing list