diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ee5bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/secrets-6.5.tar.bz2 +/secrets-7.0.tar.bz2 +/secrets-7.1.tar.bz2 +/secrets-7.2.tar.bz2 +/secrets-7.3.tar.bz2 +/secrets-8.0.tar.bz2 +/secrets-9.3.tar.bz2 diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..d36e7fa --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,27 @@ +copy_upstream_release_description: false +# downstream_package_name: foo # not mandatory +# upstream_package_name: Foo # not mandatory +upstream_project_url: https://gitlab.gnome.org/World/secrets +# upstream_tag_template: v{version} + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + # - fedora-development + # - fedora-all + + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit", "atim"] + allowed_committers: ["packit", "atim"] + dist_git_branches: + - fedora-all + # - epel-9 + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched + # - epel-9 diff --git a/README.md b/README.md new file mode 100644 index 0000000..5cbcc3c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# secrets + +The secrets package diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..8480b61 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.94.0. diff --git a/changelog b/changelog new file mode 100644 index 0000000..ab9b2d7 --- /dev/null +++ b/changelog @@ -0,0 +1,18 @@ +* Sun May 08 2022 Artem Polishchuk - 6.5-1 +- build(update): 6.5 + +* Wed Mar 30 2022 Artem Polishchuk - 6.3-1 +- build(update): 6.3 + +* Tue Mar 08 2022 Artem Polishchuk - 6.2-2 +- build: Drop python3-crypto dep | rh#2061745 +- build: Add runtime dep 'python3-pyotp >= 2.4.0' + +* Mon Feb 28 2022 Artem Polishchuk - 6.2-1 +- build(update): 6.2 + +* Thu Jan 13 2022 Artem Polishchuk - 6.0-0.1.beta.2 +- build(update): 6.0.beta.2 + +* Mon Dec 06 2021 Artem Polishchuk - 5.1-1 +- Initial package diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/secrets.spec b/secrets.spec new file mode 100644 index 0000000..187f271 --- /dev/null +++ b/secrets.spec @@ -0,0 +1,111 @@ +%bcond_with tests + +%global sysname gsecrets +%global oldname gnome-passwordsafe + +Name: secrets +Version: 9.3 +Release: %autorelease +Summary: Manage your passwords + +License: GPL-3.0-only +URL: https://gitlab.gnome.org/World/secrets +Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 +BuildArch: noarch + +BuildRequires: desktop-file-utils +BuildRequires: intltool +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.59 +BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-yubico + +BuildRequires: python3dist(pykeepass) >= 4.0.6 +BuildRequires: python3dist(pyotp) >= 2.4.0 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(validators) +BuildRequires: python3dist(zxcvbn) +BuildRequires: python3dist(PyKCS11) + +BuildRequires: pkgconfig(gio-2.0) >= 2.66 +BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 +BuildRequires: pkgconfig(gtk4) >= 4.9 +BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 + +%if %{with tests} +BuildRequires: python3-gobject +BuildRequires: python3dist(pytest) +%endif + +Requires: hicolor-icon-theme +Requires: libadwaita >= 1.4.99 +Requires: python3-gobject +Requires: python3-pykeepass >= 4.0.6 +Requires: python3-pyotp >= 2.4.0 +Requires: python3-validators +Requires: python3-yubico +Requires: python3-zxcvbn + +Provides: %{oldname} = %{version}-%{release} +Obsoletes: %{oldname} <= 5.1-6 + +%description +Secrets is a password manager which integrates perfectly with the GNOME +desktop and provides an easy and uncluttered interface for the management of +password databases. + +Features: + * Create or import KeePass safes + * Assign a color and additional attributes to entries + * Add attachments to your encrypted database + * Generate cryptographically strong passwords + * Change the password or keyfile of your database + * Quickly search your favorite entries + * Automatic database lock during inactivity + * Adaptive interface + * Support for two-factor authentication + + +%prep +%autosetup + + +%build +%meson \ + %if %{with tests} + -Dtests=true \ + %endif + %{nil} +%meson_build + + +%install +%meson_install +%find_lang %{name} + + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + +%if %{with tests} +%meson_test +%endif + + +%files -f %{name}.lang +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_datadir}/%{name}/ +%{_datadir}/applications/*.desktop +%{_datadir}/glib-2.0/schemas/*.gschema.xml +%{_datadir}/icons/hicolor/*/*/*.svg +%{_datadir}/mime/packages/*.xml +%{_metainfodir}/*.xml +%{python3_sitelib}/%{sysname}/ + + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..a0c046c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4