Notification time stamped 2020-09-01 00:10:26 UTC
From d87442ccbf1729a82115bfdf80318db616b87286 Mon Sep 17 00:00:00 2001
From: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sep 01 2020 00:10:10 +0000
Subject: First import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e35f2a1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/emacs-pkg-info-0.6.tar.gz
diff --git a/emacs-pkg-info.spec b/emacs-pkg-info.spec
new file mode 100644
index 0000000..5ffa6d7
--- /dev/null
+++ b/emacs-pkg-info.spec
@@ -0,0 +1,47 @@
+%global pkg pkg-info
+
+Name: emacs-%{pkg}
+Version: 0.6
+Release: 1%{?dist}
+Summary: Provide information about Emacs packages
+
+License: GPLv3+
+URL:
https://github.com/lunaryorn/%{pkg}.el/
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: %{pkg}-init.el
+
+BuildRequires: emacs
+BuildRequires: emacs-epl
+Requires: emacs(bin) >= %{_emacs_version}
+Requires: emacs-epl
+BuildArch: noarch
+
+%description
+%{summary}.
+
+
+%prep
+%autosetup -n %{pkg}-%{version}
+
+
+%build
+%{_emacs_bytecompile} %{pkg}.el
+
+
+%install
+install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+install -pm 0644 %{pkg}.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
+
+install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.el
+
+
+%files
+%doc README.md
+%license COPYING
+%{_emacs_sitelispdir}/%{pkg}/
+%{_emacs_sitestartdir}/*.el
+
+
+%changelog
+* Thu Aug 20 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 0.6-1
+- Initial RPM release
diff --git a/pkg-info-init.el b/pkg-info-init.el
new file mode 100644
index 0000000..a025ce5
--- /dev/null
+++ b/pkg-info-init.el
@@ -0,0 +1,104 @@
+(autoload 'pkg-info-library-original-version "pkg-info" "\
+Get the original version in the header of LIBRARY.
+
+The original version is stored in the X-Original-Version header.
+This header is added by the MELPA package archive to preserve
+upstream version numbers.
+
+LIBRARY is either a symbol denoting a named feature, or a library
+name as string.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version from the header of LIBRARY as list. Signal an
+error if the LIBRARY was not found or had no X-Original-Version
+header.
+
+See Info node `(elisp)Library Headers' for more information
+about library headers.
+
+\(fn LIBRARY &optional SHOW)" t nil)
+
+(autoload 'pkg-info-library-version "pkg-info" "\
+Get the version in the header of LIBRARY.
+
+LIBRARY is either a symbol denoting a named feature, or a library
+name as string.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version from the header of LIBRARY as list. Signal an
+error if the LIBRARY was not found or had no proper header.
+
+See Info node `(elisp)Library Headers' for more information
+about library headers.
+
+\(fn LIBRARY &optional SHOW)" t nil)
+
+(autoload 'pkg-info-defining-library-original-version "pkg-info" "\
+Get the original version of the library defining FUNCTION.
+
+The original version is stored in the X-Original-Version header.
+This header is added by the MELPA package archive to preserve
+upstream version numbers.
+
+If SHOW is non-nil, show the version in mini-buffer.
+
+This function is mainly intended to find the version of a major
+or minor mode, i.e.
+
+ (pkg-info-defining-library-version 'flycheck-mode)
+
+Return the version of the library defining FUNCTION. Signal an
+error if FUNCTION is not a valid function, if its defining
+library was not found, or if the library had no proper version
+header.
+
+\(fn FUNCTION &optional SHOW)" t nil)
+
+(autoload 'pkg-info-defining-library-version "pkg-info" "\
+Get the version of the library defining FUNCTION.
+
+If SHOW is non-nil, show the version in mini-buffer.
+
+This function is mainly intended to find the version of a major
+or minor mode, i.e.
+
+ (pkg-info-defining-library-version 'flycheck-mode)
+
+Return the version of the library defining FUNCTION. Signal an
+error if FUNCTION is not a valid function, if its defining
+library was not found, or if the library had no proper version
+header.
+
+\(fn FUNCTION &optional SHOW)" t nil)
+
+(autoload 'pkg-info-package-version "pkg-info" "\
+Get the version of an installed PACKAGE.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+Return the version as list, or nil if PACKAGE is not installed.
+
+\(fn PACKAGE &optional SHOW)" t nil)
+
+(autoload 'pkg-info-version-info "pkg-info" "\
+Obtain complete version info for LIBRARY and PACKAGE.
+
+LIBRARY is a symbol denoting a named feature, or a library name
+as string. PACKAGE is a symbol denoting an ELPA package. If
+omitted or nil, default to LIBRARY.
+
+If SHOW is non-nil, show the version in the minibuffer.
+
+When called interactively, prompt for LIBRARY. When called
+interactively with prefix argument, prompt for PACKAGE as well.
+
+Return a string with complete version information for LIBRARY.
+This version information contains the version from the headers of
+LIBRARY, and the version of the installed PACKAGE, the LIBRARY is
+part of. If PACKAGE is not installed, or if the PACKAGE version
+is the same as the LIBRARY version, do not include a package
+version.
+
+\(fn LIBRARY &optional PACKAGE SHOW)" t nil)
diff --git a/sources b/sources
new file mode 100644
index 0000000..f4d05c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (emacs-pkg-info-0.6.tar.gz) =
73531a0a7ab54cf3e365a627d2905cc820f1328ad8ca8f985d1954c877f4a1ad7dc5129f52c4e2accd305661a9b952da9adf0a802c8ab6f35e1c16b55966ef54
https://src.fedoraproject.org/rpms/emacs-pkg-info/c/d87442ccbf1729a82115b...