scythia/scythia.spec

97 lines
2.7 KiB
RPMSpec

Name: scythia
Version: 0.9.3
Release: 2mamba
Summary: A simple and portable Ftp client
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://scythia.free.fr
Source: http://scythia.free.fr/wp-content/scythia_%{version}-2-src.tar.gz
Source1: %{name}-desktop
Patch0: %{name}-0.9.2-fix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libICE-devel
BuildRequires: libpng-devel
BuildRequires: libqt4-devel
BuildRequires: libSM-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
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Scythia is a simple and portable Ftp client.
%prep
%setup -q -n %{name}
%patch0 -p1
#rm -f translations/*.qm
cp -f src/pixmaps/%{name}_logo.png src/pixmaps/%{name}.png
chmod a-x AUTHORS COPYING
%build
#./compil \
# CXX=%{_target_platform}-g++ \
# CXXFLAGS="%{optflags} \$(DEFINES)"
%{_bindir}/qmake-qt4 scythia.pro
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot} INSTALL="install -p"
rm %{buildroot}%{_docdir}/scythia/html/aide_8h-source.html
rm %{buildroot}%{_datadir}/applnk -rf
#install -d %{buildroot}%{_datadir}/%{name}/lang
#install -D -m 644 translations/*.qm \
# %{buildroot}%{_datadir}/%{name}/lang
install -D -m 644 %{S:1} \
%{buildroot}%{_datadir}/applications/%{name}.desktop
install -D -m 644 src/pixmaps/%{name}.png \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/lang/*.qm
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/pixmaps/%{name}.png
%dir %{_docdir}/scythia/html
%doc %{_docdir}/scythia/html/*.html
%doc %{_docdir}/scythia/html/*.png
%doc %{_docdir}/scythia/html/*.css
%doc %{_docdir}/scythia/html/tab_*.gif
%doc AUTHORS COPYING
%changelog
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 0.9.3-2mamba
- automatic rebuild by autodist
* Fri Sep 19 2008 gil <puntogil@libero.it> 0.9.3-1mamba
- update to 0.9.3
* Sat Aug 25 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.2-1mamba
- package created by autospec