[packages/conman] Up to 0.3.1
arekm
arekm at pld-linux.org
Wed May 20 23:31:01 CEST 2026
commit 9e4a45ab9caaae6fb9a8f8d8ccbddd351b208b4e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed May 20 23:30:44 2026 +0200
Up to 0.3.1
conman.spec | 21 +++++++++++++--------
fhs.patch | 31 -------------------------------
2 files changed, 13 insertions(+), 39 deletions(-)
---
diff --git a/conman.spec b/conman.spec
index e408620..4fba73a 100644
--- a/conman.spec
+++ b/conman.spec
@@ -1,17 +1,18 @@
Summary: The Console Manager
Summary(pl.UTF-8): Zarządca konsol
Name: conman
-Version: 0.2.7
-Release: 2
+Version: 0.3.1
+Release: 1
License: GPL
Group: Daemons
Source0: https://github.com/dun/conman/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 00316e7340e4741d5d38dcb952fb1e83
+# Source0-md5: b582d8c7ebfa2e9404c0dc43da872f38
Source1: %{name}d.init
Source2: %{name}d.sysconfig
Source3: %{name}.logrotate
-Patch0: fhs.patch
URL: http://dun.github.io/conman/
+BuildRequires: autoconf >= 2.61
+BuildRequires: automake >= 1.11
BuildRequires: libwrap-devel
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/ldconfig
@@ -33,10 +34,15 @@ terminali (poprzez protokół telnet).
%prep
%setup -q -n %{name}-%{name}-%{version}
-%patch -P0 -p1
%build
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --with-systemdunitdir=no \
+ --with-sysvinitddir=no \
--with-tcp-wrappers
%{__make}
@@ -50,12 +56,11 @@ install -d $RPM_BUILD_ROOT/var/log/conman
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/conmand
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/conmand
install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/conmand
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/examples
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -71,7 +76,7 @@ fi
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog FAQ NEWS
+%doc AUTHORS FAQ NEWS README.md THANKS
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_sbindir}/*
%{_datadir}/%{name}
diff --git a/fhs.patch b/fhs.patch
deleted file mode 100644
index 76ff9d4..0000000
--- a/fhs.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- conman-conman-0.2.7/man/conman.conf.5.in~ 2011-04-22 02:20:51.000000000 +0200
-+++ conman-conman-0.2.7/man/conman.conf.5.in 2016-04-16 20:40:12.253572577 +0200
-@@ -227,7 +227,7 @@
- An external process-based connection is defined by the "\fIpath\fR
- \fIargs\fR" format (where \fIpath\fR is the pathname to an executable
- file/script, and any additional \fIargs\fR are space-delimited); the
--\fI at prefix@/lib/@PROJECT@/exec\fR directory contains scripts for various
-+\fI at prefix@/share/@PROJECT@/exec\fR directory contains scripts for various
- console types.
- .br
- .sp
---- conman-conman-0.2.7/Makefile.in~ 2011-04-22 02:20:51.000000000 +0200
-+++ conman-conman-0.2.7/Makefile.in 2016-04-16 20:40:58.335158741 +0200
-@@ -129,13 +129,13 @@
- && find * -name ".*" -prune -o -type f -print`; do \
- expr "$$f" : ".*\.exp" && mode=755 || mode=644; \
- echo $(INSTALL) -m 755 -d \
-- `dirname $(DESTDIR)$(prefix)/lib/$(PROJECT)/$$f`; \
-+ `dirname $(DESTDIR)$(prefix)/share/$(PROJECT)/$$f`; \
- $(INSTALL) -m 755 -d \
-- `dirname $(DESTDIR)$(prefix)/lib/$(PROJECT)/$$f`; \
-+ `dirname $(DESTDIR)$(prefix)/share/$(PROJECT)/$$f`; \
- echo $(INSTALL) -m $${mode} \
-- lib/$$f $(DESTDIR)$(prefix)/lib/$(PROJECT)/$$f; \
-+ lib/$$f $(DESTDIR)$(prefix)/share/$(PROJECT)/$$f; \
- $(INSTALL) -m $${mode} lib/$$f \
-- $(DESTDIR)$(prefix)/lib/$(PROJECT)/$$f; \
-+ $(DESTDIR)$(prefix)/share/$(PROJECT)/$$f; \
- done
- @ for d in man1 man5 man8; do \
- echo $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/$$d; \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/conman.git/commitdiff/9e4a45ab9caaae6fb9a8f8d8ccbddd351b208b4e
More information about the pld-cvs-commit
mailing list