Skip to content

Commit

Permalink
Remove fdupes
Browse files Browse the repository at this point in the history
  • Loading branch information
halfcyan committed Jul 26, 2024
1 parent 69ea67a commit ea34772
Show file tree
Hide file tree
Showing 76 changed files with 37 additions and 186 deletions.
4 changes: 1 addition & 3 deletions anda/apps/anki-bin/anki-bin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Release: 1%?dist
Summary: Flashcard program for using space repetition learning (Installed with wheel)
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
URL: https://apps.ankiweb.net/
BuildRequires: python3-pip rpm_macro(fdupes) cargo
BuildRequires: python3-pip cargo
Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash
Expand Down Expand Up @@ -50,8 +50,6 @@ cp -r ./{_aqt,anki*,aqt*} %buildroot/usr/lib/python3*/site-packages/

rm -rf %buildroot%_bindir/{distro,flask,jsonschema,markdown_py,normalizer,send2trash,waitress-serve}

%fdupes %buildroot%_libdir/python*/site-packages/_aqt/data/


%files
%license LICENSE
Expand Down
4 changes: 1 addition & 3 deletions anda/apps/anki-qt5/anki-qt5.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
URL: https://apps.ankiweb.net/
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes)
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson python3-pyqt5-sip
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash python3-orjson mpv python3-qt5-webengine
Expand Down Expand Up @@ -46,8 +46,6 @@ chmod 755 %{buildroot}%{_bindir}/anki
find %{buildroot} -iname __pycache__ | xargs -r rm -rf
find %{buildroot} -iname direct_url.json | xargs -r rm -rf

%fdupes %_libdir/python*/site-packages/_aqt/data/


%files
%license LICENSE*
Expand Down
5 changes: 1 addition & 4 deletions anda/apps/anki/anki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
URL: https://apps.ankiweb.net/
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes)
BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks
BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
Expand Down Expand Up @@ -50,9 +50,6 @@ find %{buildroot} -iname direct_url.json | xargs -r rm -rf

chmod 755 %{buildroot}%{_bindir}/anki

%fdupes %_libdir/python*/site-packages/_aqt/data/


%files
%license LICENSE*
%doc README*
Expand Down
3 changes: 0 additions & 3 deletions anda/desktops/budgie/budgie-extras/budgie-extras.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ URL: https://ubuntubudgie.org/
Source0: https://github.com/UbuntuBudgie/budgie-extras/releases/download/v%{version}/budgie-extras-%{version}.tar.xz
Patch0: 0001-fix-weathershow-desktop-widget-icon-path.patch

BuildRequires: rpm_macro(fdupes)
BuildRequires: cmake
BuildRequires: meson
BuildRequires: vala
Expand Down Expand Up @@ -274,8 +273,6 @@ workspaces.
# Remove absolute symlink and replace with relative symlink
rm -f %{buildroot}%{_bindir}/quickchar

%fdupes %_libdir/budgie-desktop/plugins/budgie-weathershow/weather_icons

%post

%{__ln_s} -fv %{_bindir}/quickchar %{_libdir}/quickchar/quickchar
Expand Down
4 changes: 0 additions & 4 deletions anda/desktops/compiz9/compiz9.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Patch1: gtk-extents.patch
Patch2: focus-prevention-disable.patch

Conflicts: compiz
BuildRequires: rpm_macro(fdupes)
BuildRequires: libX11-devel
BuildRequires: libdrm-devel
BuildRequires: libXcursor-devel
Expand Down Expand Up @@ -104,9 +103,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
mkdir -p %{buildroot}%{_datadir}/compiz/icons/hicolor/{scalable/{apps,\
categories},22x22/{categories,devices,mimetypes}}

%fdupes %buildroot%_datadir/glib-2.0/schemas/
%fdupes %buildroot%_datadir/ccsm/icons/hicolor/scalable/apps/


%files -f compiz.lang
%doc AUTHORS README NEWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BuildRequires: vala

BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gtk4)
BuildRequires: fdupes

Requires: hicolor-icon-theme

Expand Down Expand Up @@ -46,8 +45,6 @@ functions (sin, cos, and tan).

%find_lang %{appname}

%fdupes %buildroot/%_datadir/icons/hicolor


%check
desktop-file-validate \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ BuildRequires: libhandy >= 0.90.0
BuildRequires: meson
BuildRequires: vala
BuildRequires: evolution-data-server-devel
BuildRequires: fdupes

Requires: hicolor-icon-theme

Expand Down Expand Up @@ -65,8 +64,6 @@ This package contains the development files.

%find_lang %{appname}

%fdupes %buildroot/%_datadir/icons/hicolor


%check
%dnl desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.46
BuildRequires: vala
BuildRequires: fdupes

BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
Expand Down Expand Up @@ -47,7 +46,7 @@ Camera is a simple app to take photos with a webcam.

%find_lang %{appname}

%fdupes %buildroot/%_datadir/icons/hicolor




Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ BuildRequires: pkgconfig(webkit2gtk-4.1)
BuildRequires: pkgconfig(gcr-4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(webkitgtk-6.0)
BuildRequires: fdupes

Requires: NetworkManager
Requires: hicolor-icon-theme
Expand Down Expand Up @@ -58,8 +57,6 @@ Written in Vala and using WebkitGtk+.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/


%check
desktop-file-validate \
Expand Down
3 changes: 0 additions & 3 deletions anda/desktops/elementary/elementary-code/elementary-code.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ BuildRequires: pkgconfig(libpeas-gtk-1.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(pangoft2)
BuildRequires: pkgconfig(vte-2.91)
BuildRequires: fdupes

Requires: hicolor-icon-theme

Expand Down Expand Up @@ -69,8 +68,6 @@ This package contains the development headers.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/


%files -f %{appname}.lang
%doc README.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.50.0
BuildRequires: vala >= 0.48.2
BuildRequires: fdupes

BuildRequires: pkgconfig(cloudproviders) >= 0.3.0
BuildRequires: pkgconfig(gdk-x11-3.0)
Expand Down Expand Up @@ -85,8 +84,6 @@ This package contains the development headers.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/

# remove unused pixmaps
rm -r %{buildroot}/%{_datadir}/pixmaps

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: fdupes

BuildRequires: mesa-libEGL-devel

Expand Down Expand Up @@ -83,8 +82,6 @@ The elementary Greeter is a styled Login Screen for LightDM.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/

# install LightDM configuration file
mkdir -p %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d
install -pm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf.d/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BuildRequires: libappstream-glib
BuildRequires: librsvg2-tools
BuildRequires: meson
BuildRequires: xcursorgen
BuildRequires: fdupes

%description
This is an icon theme designed to be smooth, sexy, clear, and efficient.
Expand Down Expand Up @@ -66,8 +65,6 @@ done
# Create icon cache file
touch %{buildroot}/%{_datadir}/icons/elementary/icon-theme.cache

%fdupes %buildroot%_datadir/icons/elementary/


%check
# ignore validation until appstream-glib knows the "icon-theme" component type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ BuildRequires: gettext
BuildRequires: meson
BuildRequires: libappstream-glib
BuildRequires: vala >= 0.26
BuildRequires: fdupes

BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
Expand Down Expand Up @@ -79,8 +78,6 @@ This package contains files needed for developing with Music.
%meson_install
%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/


%check
desktop-file-validate \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.46.0
BuildRequires: vala
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: cmake

Expand Down Expand Up @@ -65,10 +64,6 @@ Foundation.

%find_lang %{appname}

%fdupes %buildroot%_datadir/icons/hicolor/
%fdupes %buildroot%_datadir/locale/


%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.46
BuildRequires: vala >= 0.24
BuildRequires: fdupes

BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
Expand All @@ -44,8 +43,6 @@ Screenshot tool designed for elementary.
%install
%meson_install

%fdupes %buildroot%_datadir/icons/hicolor/
%fdupes %buildroot%_datadir/locale
%find_lang %{appname}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: fdupes

BuildRequires: pkgconfig(flatpak)
BuildRequires: pkgconfig(glib-2.0)
Expand All @@ -42,7 +41,6 @@ Pantheon without needing to use a command line application.
%install
%meson_install

%fdupes %buildroot%_datadir/icons/hicolor/
%find_lang %{appname}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ URL: https://github.com/elementary/%{srcname}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires: meson
BuildRequires: fdupes

BuildArch: noarch

Expand All @@ -39,7 +38,6 @@ physical, and pleasant.
%install
%meson_install

%fdupes %buildroot%_datadir/sounds/elementary/stereo/


%files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BuildRequires: gettext xorg-x11-server-Xvfb
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.40.0
BuildRequires: fdupes

BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(glib-2.0) >= 2.39
Expand Down Expand Up @@ -64,7 +63,6 @@ notifications when using the fish shell.
%install
%meson_install

%fdupes %buildroot%_datadir/locale/
%find_lang %{appname}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: sassc
BuildRequires: fdupes

# gtk-version-specific subpackages were dropped in Fedora 34
Obsoletes: %{name}-gtk2 < 5.4.2-4.20210216.gitf0c3b7f
Expand Down Expand Up @@ -55,8 +54,6 @@ This package contains the plank theme.
%install
%meson_install

%fdupes %buildroot%_datadir/themes/


%check
appstream-util validate-relax --nonet \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: fdupes

BuildRequires: pkgconfig(clutter-gst-3.0)
BuildRequires: pkgconfig(clutter-gtk-1.0)
Expand Down Expand Up @@ -50,8 +49,6 @@ to the desktop.
%install
%meson_install

%fdupes %buildroot%_datadir/icons/hicolor/
%fdupes %buildroot%_datadir/locale/
%find_lang %{appname}


Expand Down
3 changes: 0 additions & 3 deletions anda/desktops/elementary/granite-7/granite-7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.48.2
BuildRequires: vala >= 0.48
BuildRequires: fdupes

BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0) >= 2.50
Expand Down Expand Up @@ -59,8 +58,6 @@ This package contains the development headers.
%install
%meson_install

%fdupes %buildroot%_datadir/icons/hicolor/
%fdupes %buildroot%_datadir/locale/

%find_lang granite-7

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.34.1
BuildRequires: fdupes

BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
Expand All @@ -40,7 +39,6 @@ requests access to location services.

%install
%meson_install
%fdupes %buildroot%_datadir/locale/
%find_lang %{name}


Expand Down
Loading

0 comments on commit ea34772

Please sign in to comment.