smile/smile.spec

202 lines
6.9 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: smile
Version: 1.0
Release: 3mamba
Summary: SMILE - Slideshow Maker In Linux Environement
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://smile.tuxfamily.org/
Source: http://download.tuxfamily.org/smiletool/smile-%{version}.tar.gz
Patch0: smile-0.8.1-lang.patch
Patch1: smile-0.8.6-helpfrm.patch
License: GPL
Requires: mplayer
Requires: mencoder
Requires: ImageMagick
Requires: sox
## 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
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
SMILE means Slideshow Maker In Linux Environnement.
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.
%prep
%setup -q -n %{name}
%patch0 -p1
#%patch1 -p1
%build
export QTDIR=%{_qt4_prefix} QTLIB=%{_qt4_libdir}
%{_bindir}/qmake-qt4 -o Makefile smile.pro
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
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
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/smile
%{_datadir}/applications/%{name}.desktop
#%{_datadir}/pixmaps/smile.png
%dir %{_datadir}/smile
%{_datadir}/smile/smile_*.qm
%{_datadir}/smile/*.ui
%{_datadir}/smile/interface.qrc
%dir %{_datadir}/smile/BIB_ManSlide
%{_datadir}/smile/BIB_ManSlide/Eff_sup
%{_datadir}/smile/BIB_ManSlide/Help
%{_datadir}/smile/BIB_ManSlide/Luma
%dir %{_datadir}/smile/Interface
%{_datadir}/smile/Interface/Origine
%{_datadir}/smile/Interface/Theme
%doc copying
%changelog
* Mon Aug 24 2015 Automatic Build System <autodist@mambasoft.it> 1.0-3mamba
- automatic rebuild by autodist
* 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