ajout des fichiers necessaires pour creer un package debian

This commit is contained in:
2025-10-18 23:30:47 +02:00
parent 6f6edaedba
commit 2a0bd8fc8a
4 changed files with 57 additions and 0 deletions

View File

@@ -6,3 +6,26 @@ edition = "2024"
[dependencies]
eframe = "0.33.0"
egui_extras = "0.33.0"
[package.metadata.deb]
maintainer = "Letellier thomas.letellier2812@gmail.com"
copyright = "2025, Letellier"
license-file = ["LICENSE.txt", "4"]
extended-description = """
A graphical calculator application made to complete my debian system since there is no calculator in the software minimum tool package.
"""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
["target/release/calculator", "usr/bin/", "755"],
["README.md", "usr/share/doc/hatmos-calculator/", "644"],
]
# Si vous avez une interface graphique
[package.metadata.deb.variants.gui]
assets = [
["target/release/calculator", "usr/bin/", "755"],
["assets/calculator.desktop", "usr/share/applications/", "644"],
["assets/icon.png", "usr/share/icons/hicolor/256x256/apps/hatmos-calculator.png", "644"],
]

21
LICENSE.txt Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Letellier
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

4
README.md Normal file
View File

@@ -0,0 +1,4 @@
#Hatmos Calculator
This application was created because there were no calculator on my system.
This software is licensed under the MIT License, feel free to use it in the respect of this license.

9
assets/.desktop Normal file
View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Calculator-H
Comment=Small Calculator because i don't have one
Exec=Hatmos-Calculator
Icon=Calculator of Hatmos
Terminal=false
Categories=Utility;