diff --git a/.gitignore b/.gitignore index e69de29..4a406bf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.rpm +*.tar* +results_*/ diff --git a/mint-x-icons.spec b/mint-x-icons.spec new file mode 100644 index 0000000..0f0a607 --- /dev/null +++ b/mint-x-icons.spec @@ -0,0 +1,56 @@ +Name: mint-x-icons +Version: 1.4.0 +Release: 1%{?dist} +Summary: Icon theme for Linux Mint + +License: GPLv3+ +URL: http://linuxmint.com +Source0: http://packages.linuxmint.com/pool/main/m/%{name}/%{name}_%{version}.tar.xz + +BuildArch: noarch + +Requires: filesystem + +%description +%{summary}. + + +%prep +%autosetup -c + + +%build +# noop + + +%install +%{__cp} -av %{name}/usr %{buildroot} + + +%post +/bin/touch --no-create %{_datadir}/icons &>/dev/null || : + + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons &>/dev/null + %{_bindir}/gtk-update-icon-cache %{_datadir}/icons &>/dev/null || : +fi + + +%posttrans +%{_bindir}/gtk-update-icon-cache %{_datadir}/icons &>/dev/null || : + + +%files +%license %{name}/debian/copyright +%doc %{name}/debian/changelog +%{_datadir}/icons/* + + +%changelog +* Mon Jan 09 2017 Björn Esser - 1.4.0-1 +- Initial rpm-release (rhbz#1411152) + +* Sun Jan 08 2017 Björn Esser - 1.4.0-0.1 +- Initial package (rhbz#1411152) diff --git a/sources b/sources index e69de29..58652bf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (mint-x-icons_1.4.0.tar.xz) = 1d2eb4052543d9fb8a3c45f5c91fac6c219490b0ca19084a26b35f7987134cf51954b020298131485091d0ae227ff023c7918a3e6790a92e4cf423d0f5d5dbfc