Accepting request 883631 from home:luigifab
I want to maintain awf-gtk2 in Factory and would like to use X11:common:Factory as the devel/feeder project. I changed Release tag, created the changes file, and added the source archive. OBS-URL: https://build.opensuse.org/request/show/883631 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk2?expand=0&rev=1
This commit is contained in:
commit
2e221b9d0a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
awf-gtk2-2.3.0.tar.gz
Normal file
3
awf-gtk2-2.3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:731a317dbc1bffc6b8a842de15c777d81c5d80b4c58706c41af781e4d83f04bf
|
||||||
|
size 379125
|
4
awf-gtk2.changes
Normal file
4
awf-gtk2.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 6 13:56:04 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
|
||||||
|
|
||||||
|
- Initial opensuse package release
|
72
awf-gtk2.spec
Normal file
72
awf-gtk2.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
Name: awf-gtk2
|
||||||
|
Version: 2.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Theme preview application for GTK
|
||||||
|
Summary(fr): Application d'aperçu de thème pour GTK
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
URL: https://github.com/luigifab/awf-extended
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gtk2-devel
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: aspell-fr
|
||||||
|
Requires: gtk2
|
||||||
|
Requires: hicolor-icon-theme
|
||||||
|
|
||||||
|
%description %{expand:
|
||||||
|
A widget factory is a theme preview application for GTK. It displays the
|
||||||
|
various widget types provided by GTK in a single window allowing to see
|
||||||
|
the visual effect of the applied theme.
|
||||||
|
|
||||||
|
This package provides the gtk2 version.}
|
||||||
|
|
||||||
|
%description -l fr %{expand:
|
||||||
|
La fabrique à widgets est une application d'aperçu de thème pour GTK. Elle
|
||||||
|
affiche les différents types de widgets fournis par GTK dans une seule
|
||||||
|
fenêtre permettant de voir l'effet visuel du thème appliqué.
|
||||||
|
|
||||||
|
Ce paquet fournit la version gtk2.}
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n awf-extended-%{version}
|
||||||
|
sed -i 's/ -eq 3/ -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 -f -i
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/
|
||||||
|
for file in icons/*/*/*; do mv $file ${file/\/awf./\/%{name}.}; done
|
||||||
|
cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/
|
||||||
|
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
|
||||||
|
done
|
||||||
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Apr 06 2021 Fabrice Creuzot <code@luigifab.fr> - 2.3.0-1
|
||||||
|
- Initial opensuse package release
|
Loading…
Reference in New Issue
Block a user