forked from pool/awf-gtk3
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
17f10f7597 | |||
|
32d4a58260 | ||
58619576f9 | |||
|
b27064f1f3 | ||
ec1898214e | |||
|
22acd52ab7 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:77d887d1e8f04cabdb5fdf88f663f3d2f286f6a20b7e1fbc4a8097644030d6ef
|
||||
size 923917
|
3
awf-gtk3-3.0.0.tar.gz
Normal file
3
awf-gtk3-3.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60e71e05a6620b54debc0a148ddbf911fc314b1e0cf6c9cf159a104bfca57bb6
|
||||
size 855116
|
@@ -1,3 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
|
||||
|
||||
- New upstream release (3.0.0)
|
||||
* add support for CSD window
|
||||
* add --enable-only-gtkx and --disable-gtkx options
|
||||
* add headerbar for CSD window
|
||||
* stop spinner and remove -n option
|
||||
* add bash autocomplete script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
|
||||
|
||||
- New upstream release (2.9.0)
|
||||
* hide deprecated notices from includes
|
||||
* add notification from toolbar
|
||||
* add entry in toolbar
|
||||
* support for native --help, argc/argv for g_application_run
|
||||
* fix set theme from command line
|
||||
* limit width of filebutton
|
||||
* allow multiple selection for open dialog
|
||||
* split source code in 3 files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 3 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
|
||||
|
||||
- New upstream release (2.8.1)
|
||||
* packages scripts update
|
||||
* fix building error with GLIB 2.83 and/or with GCC 15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot <code@luigifab.fr>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package awf-gtk3
|
||||
#
|
||||
# Copyright (c) 2021-2024 SUSE LLC
|
||||
# Copyright (c) 2021-2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: awf-gtk3
|
||||
Version: 2.8.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Theme preview application for GTK 3
|
||||
Summary(fr): Application d'aperçu de thème pour GTK 3
|
||||
@@ -28,10 +28,12 @@ BuildRequires: aspell-fr
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libnotify-devel >= 0.7.0
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gtk3-devel
|
||||
Requires: gtk3
|
||||
Requires: libnotify >= 0.7.0
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
%description %{expand:
|
||||
@@ -50,44 +52,41 @@ Ce paquet fournit la version GTK 3.}
|
||||
|
||||
%prep
|
||||
%setup -q -n awf-extended-%{version}
|
||||
sed -i 's/ -eq 2/ -eq -1/g' configure.ac
|
||||
sed -i 's/ -eq 4/ -eq -1/g' configure.ac
|
||||
touch {NEWS,AUTHORS,README,ChangeLog}
|
||||
mv LICENSE COPYING
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
%configure --enable-only-gtk3
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop
|
||||
install -dm 755 %{buildroot}%{_datadir}/applications/
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ data/%{name}.desktop
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/
|
||||
for file in icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
|
||||
for file in icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
|
||||
cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/
|
||||
install -dm 755 %{buildroot}%{_datadir}/icons/hicolor/
|
||||
for file in data/icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
|
||||
for file in data/icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
|
||||
cp -a data/icons/* %{buildroot}%{_datadir}/icons/hicolor/
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/
|
||||
install -pm 644 debian/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
install -pm 644 debian/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1
|
||||
install -Dpm 644 data/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||
install -Dpm 644 data/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
install -Dpm 644 data/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1
|
||||
|
||||
for file in src/po/*.po; do
|
||||
code=$(basename "$file" .po)
|
||||
mkdir -p %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/
|
||||
msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo
|
||||
install -dm 755 %{buildroot}%{_datadir}/locale/$code/LC_MESSAGES/
|
||||
msgfmt src/po/$code.po -o %{buildroot}%{_datadir}/locale/$code/LC_MESSAGES/%{name}.mo
|
||||
done
|
||||
%find_lang %{name} --with-man
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user