From 4108eb45dc44a9cc29a700733a43611fbd74d41f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:17:01 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 1.6.2-1mamba;Sun Aug 18 2013] --- README.md | 2 ++ synkron.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 synkron.spec diff --git a/README.md b/README.md index 1a48fcf..bbcc755 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # synkron +Synkron is a simple Qt application that allows you to sync folders, for example a flash disk with a folder on your hard disk. + diff --git a/synkron.spec b/synkron.spec new file mode 100644 index 0000000..94e54cd --- /dev/null +++ b/synkron.spec @@ -0,0 +1,68 @@ +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 +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 1.6.2-1mamba +- package created by silvan using the webbuild interface