[rs-commit] r49 - in /redwax-signtext/trunk/src/linux: ./ Makefile.am configure.ac eu.redwax.Redwax.SignText.json.in redwax-signtext.spec.in
rs-commit at redwax.eu
rs-commit at redwax.eu
Wed Sep 14 23:49:53 CEST 2022
Author: minfrin at redwax.eu
Date: Wed Sep 14 23:49:51 2022
New Revision: 49
Log:
Add spec file for packaging
Added:
redwax-signtext/trunk/src/linux/eu.redwax.Redwax.SignText.json.in (with props)
redwax-signtext/trunk/src/linux/redwax-signtext.spec.in
Modified:
redwax-signtext/trunk/src/linux/ (props changed)
redwax-signtext/trunk/src/linux/Makefile.am
redwax-signtext/trunk/src/linux/configure.ac
Propchange: redwax-signtext/trunk/src/linux/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Sep 14 23:49:51 2022
@@ -21,4 +21,5 @@
config.status
autom4te.cache
stamp-h1
+eu.redwax.Redwax.SignText.json
Modified: redwax-signtext/trunk/src/linux/Makefile.am
==============================================================================
--- redwax-signtext/trunk/src/linux/Makefile.am (original)
+++ redwax-signtext/trunk/src/linux/Makefile.am Wed Sep 14 23:49:51 2022
@@ -1,5 +1,5 @@
-bin_PROGRAMS = redwax-signtext-native
+libexec_PROGRAMS = redwax-signtext-native
redwax_signtext_native_SOURCES = signtext.h signtext.c crypto.h crypto.c main.c message.c message.h
@@ -35,3 +35,10 @@
$(GCRYPT_LIBS) \
$(INTLLIBS)
+EXTRA_DIST = redwax-signtext.spec
+
+SUBDIRS = po
+
+nativedir = $(libdir)/mozilla/native-messaging-hosts
+native_DATA = eu.redwax.Redwax.SignText.json
+
Modified: redwax-signtext/trunk/src/linux/configure.ac
==============================================================================
--- redwax-signtext/trunk/src/linux/configure.ac (original)
+++ redwax-signtext/trunk/src/linux/configure.ac Wed Sep 14 23:49:51 2022
@@ -34,6 +34,6 @@
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Define to the gettext package name.])
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile po/Makefile.in])
+AC_CONFIG_FILES([Makefile po/Makefile.in eu.redwax.Redwax.SignText.json redwax-signtext.spec])
AC_OUTPUT
Added: redwax-signtext/trunk/src/linux/eu.redwax.Redwax.SignText.json.in
==============================================================================
Binary file - no diff available.
Propchange: redwax-signtext/trunk/src/linux/eu.redwax.Redwax.SignText.json.in
------------------------------------------------------------------------------
svn:mime-type = application/json
Added: redwax-signtext/trunk/src/linux/redwax-signtext.spec.in
==============================================================================
--- redwax-signtext/trunk/src/linux/redwax-signtext.spec.in (added)
+++ redwax-signtext/trunk/src/linux/redwax-signtext.spec.in Wed Sep 14 23:49:51 2022
@@ -0,0 +1,47 @@
+# RPM Spec file for redwax-signtext
+
+Name: @PACKAGE_NAME@
+Version: @PACKAGE_VERSION@
+Release: 1%{?dist}
+Summary: Sign text on the web using a smartcard
+License: ASL 2.0
+
+URL: https://redwax.eu/rst/
+Source0: https://archive.redwax.eu/dist/rs/%{name}-%{version}/%{name}-%{version}.tar.bz2
+BuildRequires: gcc
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+
+%description
+The Redwax SignText native extension and web extension allows text
+originating on a website to be signed by a certificate on a smartcard
+or other PKCS11 accessible device, and be returned as a PKCS7
+signature.
+
+This replicates the original functionality of Netscape / Firefox's
+crypto.signText() function.
+
+%prep
+%setup -q
+rm -rf %{_builddir}/%{name}-%{version}/debian
+%build
+intltoolize --automake --copy --force
+%configure
+%make_build
+
+%install
+%make_install
+
+%files
+%{_libexecdir}/redwax-signtext-native
+%{_libdir}/mozilla/native-messaging-hosts/eu.redwax.Redwax.SignText.json
+
+%doc AUTHORS ChangeLog README
+%license COPYING
+
+%changelog
+* Wed Sep 14 2022 Graham Leggett <minfrin at sharp.fm> - 0.9.0-1
+- Initial version of the package
+
+
More information about the rs-commit
mailing list