[Comm-en] Sea Monkey and other
Michael Shigorin
mike at altlinux.org
Wed Jan 12 14:13:48 MSK 2022
On Mon, Jan 10, 2022 at 10:22:51AM -0800, Lyndon wrote:
> I don't use anything Google if I can possibly help it.
Second that.
> As yet, I can't find a rpm manuskript file.
I've found one that I used as a starter:
http://copr-dist-git.fedorainfracloud.org/cgit/notsag/manuskript/manuskript.git/plain/manuskript.spec
Tried adapting for ALT package -- it's buildable but not
installable yet, attaching spec "as is" in case someone grabs
and finishes it faster than I do.
The culprit is to put library part of the package properly so
that the automated dependency search scripts don't generate
unmets (requires that aren't provided by the package itself).
> Do you know if I can run git on my system as I could install it
> that way.
Yes; apt-get install git-core
> Happy Computing !
:)
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
-------------- next part --------------
Name: manuskript
Version: 0.13.1
Release: alt1
Summary: Manuskript open source tool for writers
License: GPLv3+
Group: Editors
Url: http://www.theologeek.ch/manuskript/
Source: %name-%version.tar
BuildRequires: rpm-build-python3
Requires: python3
Requires: python3-module-PyQt5
Requires: python3-module-PyQt5-webkit
Requires: python3-module-enchant
Requires: python3-module-lxml
Requires: python3-module-markdown
Requires: libqt5-svg
Requires: zlib
#Requires: pandoc
BuildArch: noarch
%description
Manuskript is an open source tool for writers. It provides
a rich environment to help writers create their first draft
and then further refine and edit their masterpiece.
%prep
%setup
%build
find -type f -name '*.py' -print0 |
xargs -r0 sed -ri 's,/usr/bin/(env )?python$,&3,'
%install
install -pDm755 package/create_deb/%name %buildroot%_bindir/%name
install -pDm644 package/create_deb/%name.desktop \
%buildroot%_desktopdir/%name.desktop
#mkdir -p %buildroot%_datadir/%name
#cp -at %buildroot%_datadir/%name -- \
mkdir -p %buildroot%python3_sitelibdir/%name
cp -at %buildroot%python3_sitelibdir/%name -- \
CHANGELOG.md COPYING CREDITS i18n icons libs %name %name.spec \
README.md resources sample-projects
%files
%_bindir/%name
%_desktopdir/%name.desktop
#_datadir/%name
%python3_sitelibdir/%name
%changelog
* Tue Jan 11 2022 Michael Shigorin <mike at altlinux.org> 0.13.1-alt1
- built for ALT Linux
+ based on http://copr-dist-git.fedorainfracloud.org/cgit/notsag/manuskript/manuskript.git/plain/manuskript.spec
for 0.11.0 by Maxime Gaston <maxime at gaston.sh>
More information about the community-en
mailing list