69 lines
1.9 KiB
RPMSpec
69 lines
1.9 KiB
RPMSpec
Name: synkron
|
||
Version: 1.6.2
|
||
Release: 1mamba
|
||
Summary: A simple Qt application that allows you to sync folders,
|
||
Group: Graphical Desktop/Applications/Utilities
|
||
Vendor: openmamba
|
||
Distribution: openmamba
|
||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
URL: http://synkron.sourceforge.net/
|
||
Source: http://downloads.sourceforge.net/project/synkron/synkron/%{version}/Synkron-%{version}-src.tar.gz
|
||
License: GPL
|
||
## AUTOBUILDREQ-BEGIN
|
||
BuildRequires: glibc-devel
|
||
BuildRequires: libgcc
|
||
BuildRequires: libqt4-devel
|
||
BuildRequires: libstdc++6-devel
|
||
## AUTOBUILDREQ-END
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
||
%description
|
||
Synkron is a simple Qt application that allows you to sync folders, for example a flash disk with a folder on your hard disk.
|
||
|
||
%debug_package
|
||
|
||
%prep
|
||
%setup -q -n Synkron-%{version}-src
|
||
|
||
%build
|
||
lrelease Synkron.pro
|
||
qmake -config release
|
||
%make
|
||
|
||
%install
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
install -D -m0755 synkron %{buildroot}%{_bindir}/synkron
|
||
|
||
install -d %{buildroot}%{_datadir}/applications
|
||
|
||
cat >> %{buildroot}%{_datadir}/applications/synkron.desktop << _EOF
|
||
[Desktop Entry]
|
||
Type=Application
|
||
Icon=Synkron48
|
||
Name=Synkron
|
||
Comment=A folder synchronization tool
|
||
Comment[it]=Sincronizzazione di cartelle
|
||
Comment[ru]=Средство для синхронизации папок
|
||
Comment[uk]=Засіб синхронізації тек
|
||
Categories=Utility;
|
||
Exec=synkron
|
||
StartupNotify=false
|
||
Terminal=false
|
||
_EOF
|
||
|
||
install -D -m0644 ./images/Synkron48.ico %{buildroot}%{_datadir}/pixmaps/Synkron48.ico
|
||
|
||
%clean
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
||
%files
|
||
%defattr(-,root,root)
|
||
%{_bindir}/synkron
|
||
%{_datadir}/applications/synkron.desktop
|
||
%{_datadir}/pixmaps/Synkron48.ico
|
||
%doc gpl.txt
|
||
|
||
%changelog
|
||
* Sun Aug 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.2-1mamba
|
||
- package created by silvan using the webbuild interface
|