summaryrefslogtreecommitdiff
path: root/dist/reconfigure.spec.in
diff options
context:
space:
mode:
authorAndrew Shadura <andrew@shadura.me>2015-08-20 15:58:26 +0200
committerAndrew Shadura <andrew@shadura.me>2015-08-20 15:58:26 +0200
commitff1408420159488a106492ccd11dd234967029b6 (patch)
tree473420cee1c5229a427ec4cafead1aa6c0a26800 /dist/reconfigure.spec.in
Imported Upstream version 0.1.29
Diffstat (limited to 'dist/reconfigure.spec.in')
-rw-r--r--dist/reconfigure.spec.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/dist/reconfigure.spec.in b/dist/reconfigure.spec.in
new file mode 100644
index 0000000..c84631e
--- /dev/null
+++ b/dist/reconfigure.spec.in
@@ -0,0 +1,37 @@
+%define name reconfigure
+%define version __VERSION__
+%define unmangled_version __VERSION__
+%define release 1
+
+Summary: The server administration panel
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Source0: %{name}-%{version}.tar.gz
+License: LGPLv3
+Group: Development/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Prefix: %{_prefix}
+BuildArch: noarch
+Vendor: Eugene Pankov <e@ajenti.org>
+Url: http://ajenti.org/
+
+requires: python-chardet
+
+%description
+Easy config file management
+
+%prep
+%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
+
+%build
+python setup.py build
+
+%install
+python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --prefix=/usr
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f INSTALLED_FILES
+%defattr(-,root,root)