[packages/lsucpd] new

atler atler at pld-linux.org
Thu Dec 14 02:09:54 CET 2023


commit 356f51404098e662f0204f372886eac834e6fce5
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Dec 14 00:12:43 2023 +0100

    new

 lsucpd.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
---
diff --git a/lsucpd.spec b/lsucpd.spec
new file mode 100644
index 0000000..7a2185b
--- /dev/null
+++ b/lsucpd.spec
@@ -0,0 +1,43 @@
+Summary:	List USB-C ports, pd objects and associated info on Linux
+Name:		lsucpd
+Version:	0.91
+Release:	1
+License:	BSD
+Group:		Applications/System
+Source0:	https://github.com/doug-gilbert/lsucpd/archive/r%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	6812e5995de948336a903ffb8ad47706
+URL:		https://github.com/doug-gilbert/lsucpd
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+List USB-C ports, pd objects and associated info on Linux.
+
+%prep
+%setup -q -n %{name}-r%{version}
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog LICENSE README
+%attr(755,root,root) %{_bindir}/lsucpd
+%{_mandir}/man8/lsucpd.8*
+%{_mandir}/man8/lsucpd_json.8*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lsucpd.git/commitdiff/356f51404098e662f0204f372886eac834e6fce5



More information about the pld-cvs-commit mailing list