Skip to content

Commit

Permalink
v3.2.1-13271
Browse files Browse the repository at this point in the history
  • Loading branch information
EmixamPP committed Dec 20, 2022
1 parent f205607 commit 49a0f22
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Unofficial RPM package of Synology Drive Client <https://www.synology.com>.

Since the package provided by FlatHub is not 100% functional and the method of converting deb to rpm by Alien requires a lot of manipulation. I decided to create myself a clean and 100% functional RPM package for Synology Drive Client.

I have include the file explorer Nautilus as dependency in order to have access to the share menu and to have the file sync status indicator (like on Windows or Ubuntu). :warning: No longer works with Nautilus > 43. I'm waiting for a fix from Synology. Subscribe to issue [#3](https://github.com/EmixamPP/synology-drive/issues/3) to know when the feature will be fixed.\
I have include the file explorer Nautilus as dependency in order to have access to the share menu and to have the file sync status indicator (like on Windows or Ubuntu).\
I also have include a GNOME shell extension as dependency in order to see the tray icon (works natively with KDE).\
I have build a second package for user's which didn't use GNOME. It does not contain the two dependencies mentioned above (they can be installed later if you want).

Expand Down
9 changes: 7 additions & 2 deletions synology-drive-noextra.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global synology_version 3.2.0
%global synology_release 13258
%global synology_version 3.2.1
%global synology_release 13271

Name: synology-drive-noextra
Version: %{synology_version}
Expand Down Expand Up @@ -43,6 +43,8 @@ install -Dm 755 usr/bin/synology-drive -t %{buildroot}%{_bindir}/
# nautilus (installed in case the user wants to use Nautilus)
mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-3.0/
install -Dm 644 usr/lib/nautilus/extensions-3.0/libnautilus-drive-extension.so -t %{buildroot}%{_libdir}/nautilus/extensions-3.0/
mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-4/
install -Dm 644 usr/lib/nautilus/extensions-4/libnautilus-drive-extension-4.so -t %{buildroot}%{_libdir}/nautilus/extensions-4/

# desktop
mkdir -p %{buildroot}%{_datarootdir}/applications/
Expand All @@ -57,6 +59,7 @@ cp -rp usr/share/icons/hicolor/ %{buildroot}%{_datarootdir}/icons/
/opt/Synology/SynologyDrive/
%{_bindir}/synology-drive
%{_libdir}/nautilus/extensions-3.0/libnautilus-drive-extension.so
%{_libdir}/nautilus/extensions-4/libnautilus-drive-extension-4.so
%{_datarootdir}/applications/synology-drive.desktop
%{_datarootdir}/icons/hicolor/16x16/apps/synology-drive.png
%{_datarootdir}/icons/hicolor/24x24/apps/synology-drive.png
Expand All @@ -68,6 +71,8 @@ cp -rp usr/share/icons/hicolor/ %{buildroot}%{_datarootdir}/icons/
%{_datarootdir}/icons/hicolor/512x512/apps/synology-drive.png

%changelog
* Tue Dec 20 2022 Maxime Dirksen <copr@emixam.be> - 3.2.1-13271
- Version 3.2.1-13271 of Synology Drive Client
* Thu Nov 24 2022 Maxime Dirksen <copr@emixam.be> - 3.2.0-13258
- Version 3.2.0-13258 of Synology Drive Client
* Wed Oct 26 2022 Maxime Dirksen <copr@emixam.be> - 3.2.0-13238
Expand Down
11 changes: 7 additions & 4 deletions synology-drive.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global synology_version 3.2.0
%global synology_release 13258
%global synology_version 3.2.1
%global synology_release 13271

Name: synology-drive
Version: %{synology_version}
Expand Down Expand Up @@ -50,6 +50,8 @@ install -Dm 755 usr/bin/synology-drive -t %{buildroot}%{_bindir}/
# nautilus
mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-3.0/
install -Dm 644 usr/lib/nautilus/extensions-3.0/libnautilus-drive-extension.so -t %{buildroot}%{_libdir}/nautilus/extensions-3.0/
mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-4/
install -Dm 644 usr/lib/nautilus/extensions-4/libnautilus-drive-extension-4.so -t %{buildroot}%{_libdir}/nautilus/extensions-4/

# desktop
mkdir -p %{buildroot}%{_datarootdir}/applications/
Expand All @@ -64,6 +66,7 @@ cp -rp usr/share/icons/hicolor/ %{buildroot}%{_datarootdir}/icons/
/opt/Synology/SynologyDrive/
%{_bindir}/synology-drive
%{_libdir}/nautilus/extensions-3.0/libnautilus-drive-extension.so
%{_libdir}/nautilus/extensions-4/libnautilus-drive-extension-4.so
%{_datarootdir}/applications/synology-drive.desktop
%{_datarootdir}/icons/hicolor/16x16/apps/synology-drive.png
%{_datarootdir}/icons/hicolor/24x24/apps/synology-drive.png
Expand All @@ -75,8 +78,8 @@ cp -rp usr/share/icons/hicolor/ %{buildroot}%{_datarootdir}/icons/
%{_datarootdir}/icons/hicolor/512x512/apps/synology-drive.png

%changelog
* Thu Nov 24 2022 Maxime Dirksen <copr@emixam.be> - 3.2.0-13258
- Version 3.2.0-13258 of Synology Drive Client
* Tue Dec 20 2022 Maxime Dirksen <copr@emixam.be> - 3.2.1-13271
- Version 3.2.1-13271 of Synology Drive Client
* Wed Oct 26 2022 Maxime Dirksen <copr@emixam.be> - 3.2.0-13238
- Version 3.2.0-13238 of Synology Drive Client
* Thu Apr 28 2022 Maxime Dirksen <copr@emixam.be> - 3.1.0-12923
Expand Down

0 comments on commit 49a0f22

Please sign in to comment.