-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🏭 mommy adds and documents code for obs~
- Loading branch information
Showing
13 changed files
with
152 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
this directory contains files used by external build servers~ | ||
|
||
## obs | ||
obs is for [openbuildservice](https://build.opensuse.org/package/show/home:fwdekker:mommy/mommy), which works by looking | ||
at the `_service` file (stored in the build server's own repo), which itself states that obs should download this repo, | ||
extract the `pkg/obs/` directory, and then run [`obs-build`](https://github.com/openSUSE/obs-build). | ||
there are two entry points: | ||
* `mommy.dsc` for deb-based outputs, in total using the following files: | ||
* `debian.changelog` is the changelog, | ||
* `debian.compat` describes the | ||
[debhelper compatibility level](https://www.debian.org/doc/manuals/maint-guide/dother.en.html#compat), | ||
* `debian.control` describes the build logic, | ||
* `debian.rules` is a sort of makefile for | ||
[debhelper](https://manpages.debian.org/testing/debhelper/debhelper.7.en.html), | ||
* and `mommy.dsc` contains build-independent metadata; and | ||
* `mommy.spec` for rpm-based outputs~ | ||
|
||
the whole architecture here was heavily inspired (which means: basically copied) from | ||
[mpz](https://build.opensuse.org/package/show/home:oleg_antonyan/mpz)~ | ||
|
||
## rpkg | ||
rpkg is for [copr](https://copr.fedorainfracloud.org/coprs/fwdekker/mommy/), which works by downloading this repo, | ||
`cd`ing into `pkg/rpkg`, and then running [rpkg](https://pagure.io/rpkg-util)~ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mommy (1.2.5-1) stable; urgency=low | ||
|
||
* Initial release using OpenBuildService. | ||
|
||
-- Florine W. Dekker <[email protected]> Sat, 25 Nov 2023 13:01:09 +0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Source: mommy | ||
Section: misc | ||
Priority: optional | ||
Maintainer: Florine W. Dekker <[email protected]> | ||
Build-Depends: debhelper (>= 10) | ||
Homepage: https://github.com/FWDekker/mommy | ||
|
||
Package: mommy | ||
Architecture: any | ||
Description: mommy's here to support you, in any shell~ ❤️ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/make -f | ||
|
||
export DESTROOT="$(CURDIR)/debian/mommy" | ||
|
||
%: | ||
dh $@ | ||
|
||
override_dh_auto_install: | ||
dh_auto_install -- prefix="$(DESTROOT)/usr/" | ||
|
||
override_dh_auto_test: | ||
echo "Skipping tests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Format: 1.0 | ||
Source: mommy | ||
Version: placeholder | ||
Binary: mommy | ||
Maintainer: Florine W. Dekker <[email protected]> | ||
Architecture: any | ||
Build-Depends: debhelper (>= 10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Name: mommy | ||
Version: placeholder | ||
Release: placeholder | ||
Summary: mommy's here to support you, in any shell~ ❤️ | ||
License: Unlicense | ||
URL: https://github.com/FWDekker/mommy | ||
VCS: git+https://github.com/fwdekker/mommy.git | ||
Source: mommy-%{version}.tar.gz | ||
BuildArch: noarch | ||
BuildRequires: make | ||
BuildRequires: glibc-langpack-en | ||
|
||
%description | ||
mommy's here to support you! mommy will compliment you if things go well, and | ||
will encourage you if things are not going so well~ | ||
|
||
mommy is fully customizable, integrates with any shell, works on any system, and | ||
most importantly, loves you very much~ ❤️ | ||
|
||
%prep | ||
%setup -q | ||
|
||
%clean | ||
rm -rf "%{buildroot}" | ||
|
||
%build | ||
make build | ||
|
||
%install | ||
make prefix="%{buildroot}/%{_prefix}/" install | ||
|
||
%files | ||
%{_bindir}/mommy | ||
%{_mandir}/man1/mommy.1.gz | ||
%{_datarootdir}/fish/vendor_completions.d/mommy.fish | ||
%{_datarootdir}/zsh/site-functions/_mommy | ||
|
||
%changelog | ||
# Changelog lists changes to the packaging, not to the software. | ||
* Sat Nov 25 2023 Florine W. Dekker 1.2.5-1 | ||
- Rewrite script for OpenBuildService. | ||
|
||
* Tue Mar 14 2023 Florine W. Dekker 1.2.3-1 | ||
- Initial release with rpkg. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[rpkg] | ||
user_macros = "${git_props:root}/pkg/rpkg/rpkg.macros" |
File renamed without changes.