Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
la-capitaine-icon-theme
la-capitaine-icon-theme.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File la-capitaine-icon-theme.spec of Package la-capitaine-icon-theme
# # spec file for package la-capitaine-icon-theme # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _name La-Capitaine # If packages are targeted for anything other than openSUSE %{?!icon_theme_cache_create_ghost:%define icon_theme_cache_create_ghost() touch %{buildroot}%{_datadir}/icons/%1/icon-theme.cache} %{?!icon_theme_cache_post:%define icon_theme_cache_post() gtk-update-icon-cache %{_datadir}/icons/%1 &> /dev/null || :} Name: la-capitaine-icon-theme Version: 0.5.0 Release: 0 Summary: La Capitain icon theme License: MIT and GPL-3.0 Group: System/GUI/Other Url: https://github.com/keeferrourke/la-capitaine-icon-theme Source: %{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: hicolor-icon-theme %if 0%{?suse_version} BuildRequires: lsb-release BuildRequires: openSUSE-release %endif %if 0%{?fedora_version} BuildRequires: redhat-lsb-core BuildRequires: fedora-release %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description La Capitaine is an icon pack designed to integrate with most desktop environments. The set of icons takes inspiration from the latest iterations of macOS and Google's Material Design. %prep %setup -q sed -i 's/opensuse)/opensuseproject)/' ./configure sed -i '/^wd=/s/$/\nyn=Y/' ./configure sed -i '/^read -p /s/^/#/' ./configure %build ./configure %install install -dm 0755 %{buildroot}%{_datadir}/icons/%{_name} for folder in $(find -maxdepth 1 -type d -name '[[:alpha:]]*') ; do cp -a $folder %{buildroot}%{_datadir}/icons/%{_name}/ done install -Dm 0644 index.theme %{buildroot}%{_datadir}/icons/%{_name}/index.theme find %{buildroot}%{_datadir}/icons/%{_name}/ -type f -name '\.*' -print -delete %icon_theme_cache_create_ghost %{_name} %fdupes %{buildroot}%{_datadir}/icons/%{_name} %post %icon_theme_cache_post %{_name} # No need for %%icon_theme_cache_postun in %%postun since the theme won't exist anymore. %files %defattr(0644,root,root,0755) %doc COPYING LICENSE README.md %{_datadir}/icons/%{_name} %ghost %{_datadir}/icons/%{_name}/icon-theme.cache %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor