package created (overrides old smile package from tuxfamily.org) [release 1.5.6-1mamba;Sat May 07 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 17:53:25 +01:00
parent 5f5e12da66
commit 4b01dbfcae
4 changed files with 34 additions and 205 deletions

View File

@ -1,9 +1,3 @@
# smile # smile
SMILE means Slideshow Maker In Linux Environnement. An emoji picker with custom tags support.
SMILE is a slideshow creating tool (developed with qt4), for GNU/Linux,
although it also works on Mac OS/X and maybe one day on Microsoft Windows.
It allows, from images, to create a video slideshow, that can be played on almost all medias.
The numerous features and the simplicity of use make it possible to create dynamic and rich slideshows in just a few clicks,
without having to worry about technical issues or complicated settings.

View File

@ -1,11 +0,0 @@
--- smile/mainfrm.cpp 2008-09-14 16:38:43.000000000 +0200
+++ smile/mainfrm.cpp-gil 2008-09-30 22:58:26.000000000 +0200
@@ -180,7 +180,7 @@
QString wlpack = QLocale::system().name();
qDebug() << "LOADING LANGUAGE ... smile_" + wlpack.left(2);
QTranslator *qtTranslator = new QTranslator(this);
- if (qtTranslator->load("smile_" + wlpack.left(2), qApp->applicationDirPath()) == true )
+ if (qtTranslator->load("/usr/share/smile/smile_" + wlpack.left(2), qApp->applicationDirPath()) == true )
{
qApp->installTranslator(qtTranslator);
}

View File

@ -1,11 +0,0 @@
--- smile/helpfrm.cpp 2008-10-25 15:50:04.000000000 +0200
+++ smile/helpfrm.cpp-gil 2008-10-31 19:00:10.000000000 +0100
@@ -32,7 +32,7 @@
{
if ( wlpack.left(2) == "it" )
{
- webhelp->load(QUrl(wg_tmp_002 + "/BIB_ManSlide/Help/doc_it.html"));
+ webhelp->load(QUrl(wg_tmp_002 + "/BIB_ManSlide/Help/doc_en.html"));
}
else
{

View File

@ -1,130 +1,38 @@
Name: smile Name: smile
Version: 1.0 Version: 1.5.6
Release: 3mamba Release: 1mamba
Summary: SMILE - Slideshow Maker In Linux Environement Summary: An emoji picker with custom tags support
Group: Graphical Desktop/Applications/Publishing Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://smile.tuxfamily.org/ URL: https://github.com/mijorus/smile
Source: http://download.tuxfamily.org/smiletool/smile-%{version}.tar.gz Source: https://github.com/mijorus/smile.git/%{version}/smile-%{version}.tar.bz2
Patch0: smile-0.8.1-lang.patch
Patch1: smile-0.8.6-helpfrm.patch
License: GPL License: GPL
Requires: mplayer
Requires: mencoder
Requires: ImageMagick
Requires: sox
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ImageMagick-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel
BuildRequires: libSM-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: mencoder
BuildRequires: mplayer
BuildRequires: sox-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
SMILE means Slideshow Maker In Linux Environnement. An emoji picker with custom tags support.
SMILE is a slideshow creating tool (developed with qt4), for GNU/Linux,
although it also works on Mac OS/X and maybe one day on Microsoft Windows. #% debug_package
It allows, from images, to create a video slideshow, that can be played on almost all medias.
The numerous features and the simplicity of use make it possible to create dynamic and rich slideshows in just a few clicks,
without having to worry about technical issues or complicated settings.
%prep %prep
%setup -q
sed -i 's/MESON_INSTALL_PREFIX/MESON_INSTALL_DESTDIR_PREFIX/g' \
build-aux/meson/emoji_list/generate_emoji_dict.py
sed -i 's/MESON_INSTALL_PREFIX/MESON_INSTALL_DESTDIR_PREFIX/g' \
build-aux/meson/postinstall.py
%setup -q -n %{name}
%patch0 -p1
#%patch1 -p1
%build %build
export QTDIR=%{_qt4_prefix} QTLIB=%{_qt4_libdir} %meson
%{_bindir}/qmake-qt4 -o Makefile smile.pro
%make %meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
mkdir -p %{buildroot}%{_datadir}/applications
#mkdir -p %{buildroot}%{_datadir}/pixmaps
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Eff_sup
mkdir -p %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images
mkdir -p %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images_en
mkdir -p %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images_fr
mkdir -p %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Luma
mkdir -p %{buildroot}%{_datadir}/%{name}/Interface/Origine
mkdir -p %{buildroot}%{_datadir}/%{name}/Interface/Theme
install -m 644 Interface/Theme/*.png %{buildroot}%{_datadir}/%{name}/Interface/Theme
install -m 644 Interface/Theme/*.gif %{buildroot}%{_datadir}/%{name}/Interface/Theme
#install -m 644 Interface/Theme/Origine/*.xcf %{buildroot}%{_datadir}/%{name}/Interface/Origine
install -m 644 BIB_ManSlide/Eff_sup/*.png %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Eff_sup
install -m 644 BIB_ManSlide/Eff_sup/*.gif %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Eff_sup
install -m 644 BIB_ManSlide/Eff_sup/*.txt %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Eff_sup
install -m 644 BIB_ManSlide/Help/images/*.png %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images
install -m 644 BIB_ManSlide/Help/images/*.jpg %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images
install -m 644 BIB_ManSlide/Help/images_en/*.png %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images_en
install -m 644 BIB_ManSlide/Help/images_fr/*.png %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help/images_fr
install -m 644 BIB_ManSlide/Help/*.html %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help
install -m 644 BIB_ManSlide/Help/*.txt %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help
install -m 644 BIB_ManSlide/Help/*.css %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Help
install -m 644 BIB_ManSlide/Luma/*.png %{buildroot}%{_datadir}/%{name}/BIB_ManSlide/Luma
install -m 644 smile_*.qm %{buildroot}%{_datadir}/%{name}
install -m 644 interface.qrc %{buildroot}%{_datadir}/%{name}
install -m 644 *.ui %{buildroot}%{_datadir}/%{name}
install -m 755 %{name} %{buildroot}%{_bindir}
#install -m 644 Interface/Theme/%{name}.png \
#%{buildroot}%{_datadir}/pixmaps/%{name}.png
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Smile
Name[it]=Smile
Name[tr]=Smile
GenericName=Slideshow creation software
GenericName[de]=Slideshow Schaffung Software
GenericName[fr]=Logiciel de création de diaporama
GenericName[it]=Software per la creazione di slideshow
GenericName[tr]=Slayt Programı
Icon=/usr/share/smile/Interface/Theme/smile.png
Exec=/usr/bin/smile
Terminal=false
StartupNotify=false
Categories=Qt;KDE;Application;Graphics;
EOF
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -132,70 +40,19 @@ EOF
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/smile %{_bindir}/smile
%{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/it.mijorus.smile.appdata.xml
#%{_datadir}/pixmaps/smile.png %{_datadir}/applications/it.mijorus.smile.desktop
%{_datadir}/glib-2.0/schemas/it.mijorus.smile.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/it.mijorus.smile.svg
%{_datadir}/icons/hicolor/symbolic/apps/it.mijorus.smile-symbolic.svg
%dir %{_datadir}/smile %dir %{_datadir}/smile
%{_datadir}/smile/smile_*.qm %dir %{_datadir}/smile/assets
%{_datadir}/smile/*.ui %{_datadir}/smile/assets/*
%{_datadir}/smile/interface.qrc %{_datadir}/smile/smile.gresource
%dir %{_datadir}/smile/BIB_ManSlide %dir %{_datadir}/smile/smile
%{_datadir}/smile/BIB_ManSlide/Eff_sup %{_datadir}/smile/smile/*
%{_datadir}/smile/BIB_ManSlide/Help %doc COPYING
%{_datadir}/smile/BIB_ManSlide/Luma
%dir %{_datadir}/smile/Interface
%{_datadir}/smile/Interface/Origine
%{_datadir}/smile/Interface/Theme
%doc copying
%changelog %changelog
* Mon Aug 24 2015 Automatic Build System <autodist@mambasoft.it> 1.0-3mamba * Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
- automatic rebuild by autodist - package created (overrides old smile package from tuxfamily.org)
* Mon Aug 24 2015 Automatic Build System <autodist@mambasoft.it> 1.0-2mamba
- automatic rebuild by autodist
* Fri Oct 23 2009 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic update by autodist
* Fri Oct 02 2009 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
- automatic update by autodist
* Sun Aug 23 2009 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
- automatic update by autodist
* Sat Jun 13 2009 Automatic Build System <autodist@mambasoft.it> 0.9.10-1mamba
- automatic update by autodist
* Tue May 19 2009 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
- automatic update by autodist
* Mon May 04 2009 Automatic Build System <autodist@mambasoft.it> 0.9.7-1mamba
- automatic update by autodist
* Thu Apr 23 2009 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
- automatic update by autodist
* Sat Apr 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
- automatic update by autodist
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.9-1mamba
- automatic update by autodist
* Fri Nov 14 2008 gil <puntogil@libero.it> 0.8.8-1mamba
- update to 0.8.8
* Fri Oct 31 2008 gil <puntogil@libero.it> 0.8.6-1mamba
- update to 0.8.6
* Sat Oct 18 2008 gil <puntogil@libero.it> 0.8.5-1mamba
- update to 0.8.5
* Tue Sep 30 2008 gil <puntogil@libero.it> 0.8.3-1mamba
- update to 0.8.3
- added lang patch
* Wed Sep 24 2008 gil <puntogil@libero.it> 0.8.1-1mamba
- update to 0.8.1
* Fri Aug 22 2008 gil <puntogil@libero.it> 0.7.2-1mamba
- added desktop file