[mingw-hicolor-icon-theme/f21] Initial packaging attempt

Richard Hughes rhughes at fedoraproject.org
Mon Dec 8 20:15:37 UTC 2014


commit 245d26275bb20d45061066020f4c901592841c29
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Dec 8 18:43:10 2014 +0000

    Initial packaging attempt

 .gitignore                    |    1 +
 mingw-hicolor-icon-theme.spec |   65 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c309d0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hicolor-icon-theme-0.13.tar.gz
diff --git a/mingw-hicolor-icon-theme.spec b/mingw-hicolor-icon-theme.spec
new file mode 100644
index 0000000..daa0b36
--- /dev/null
+++ b/mingw-hicolor-icon-theme.spec
@@ -0,0 +1,65 @@
+%{?mingw_package_header}
+
+Name:           mingw-hicolor-icon-theme
+Version:        0.13
+Release:        1%{?dist}
+Summary:        Basic requirement for icon themes in MingGW
+
+License:        GPLv2+
+URL:            http://icon-theme.freedesktop.org/releases/
+Source0:        http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  mingw32-filesystem >= 95
+BuildRequires:  mingw64-filesystem >= 95
+
+%description
+Contains the basic directories and files needed for icon theme support.
+This is the MinGW version of this package.
+
+%package -n mingw32-hicolor-icon-theme
+Summary:        MinGW hicolor icon theme for MingGW
+
+%description -n mingw32-hicolor-icon-theme
+Contains the basic directories and files needed for icon theme support.
+This is the MinGW version of this package.
+
+%package -n mingw64-hicolor-icon-theme
+Summary:        MinGW hicolor icon theme for MingGW
+
+%description -n mingw64-hicolor-icon-theme
+Contains the basic directories and files needed for icon theme support.
+This is the MinGW version of this package.
+
+%prep
+%setup -q -n hicolor-icon-theme-%{version}
+
+# for some reason this file is executable in the tarball
+chmod 0644 COPYING
+
+%build
+# Configure and build once, not per target.
+%configure
+make %{?_smp_mflags} V=1
+
+%install
+# Install once per target, from a single build tree.
+make install "DESTDIR=$RPM_BUILD_ROOT" datadir="%{mingw32_datadir}"
+make install "DESTDIR=$RPM_BUILD_ROOT" datadir="%{mingw64_datadir}"
+
+touch $RPM_BUILD_ROOT%{mingw32_datadir}/icons/hicolor/icon-theme.cache
+touch $RPM_BUILD_ROOT%{mingw64_datadir}/icons/hicolor/icon-theme.cache
+
+%files -n mingw32-hicolor-icon-theme
+%doc README COPYING ChangeLog
+%{mingw32_datadir}/icons/hicolor
+%ghost %{mingw32_datadir}/icons/hicolor/icon-theme.cache
+
+%files -n mingw64-hicolor-icon-theme
+%doc README COPYING ChangeLog
+%{mingw64_datadir}/icons/hicolor
+%ghost %{mingw64_datadir}/icons/hicolor/icon-theme.cache
+
+%changelog
+* Mon Dec 08 2014 Richard Hughes <richard at hughsie.com> - 0.13-1
+- Initial packaging attempt
diff --git a/sources b/sources
index e69de29..cc6fbdf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+21d0f50aa6b8eef02846cda9e5e9324c  hicolor-icon-theme-0.13.tar.gz


More information about the scm-commits mailing list