[mingw-gdk-pixbuf: 12/22] Spec cleanup
epienbro
epienbro at fedoraproject.org
Tue Mar 6 19:23:19 UTC 2012
commit 1f54616f04ba00288dfdcee4e717b5828b518470
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Aug 27 10:37:45 2011 +0300
Spec cleanup
Recent rpmbuild versions don't need all the boilerplate code.
mingw32-gdk-pixbuf.spec | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
---
diff --git a/mingw32-gdk-pixbuf.spec b/mingw32-gdk-pixbuf.spec
index 6bc658f..4aab345 100644
--- a/mingw32-gdk-pixbuf.spec
+++ b/mingw32-gdk-pixbuf.spec
@@ -1,8 +1,5 @@
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{_mingw32_findrequires}
-%global __find_provides %{_mingw32_findprovides}
%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-gdk-pixbuf
@@ -15,15 +12,13 @@ Group: Development/Libraries
URL: http://www.gtk.org
Source0: http://download.gnome.org/sources/gdk-pixbuf/2.24/gdk-pixbuf-%{version}.tar.xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
# If you want to rebuild this, do:
# wine /usr/i686-pc-mingw32/sys-root/mingw/bin/gdk-pixbuf-query-loaders.exe | sed s@'Z:/usr/i686-pc-mingw32/sys-root/mingw'@'..'@ > gdk-pixbuf.loaders
Source1: gdk-pixbuf.loaders
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 61
+BuildRequires: mingw32-filesystem >= 68
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
@@ -33,8 +28,6 @@ BuildRequires: mingw32-libjpeg
BuildRequires: mingw32-libpng
BuildRequires: mingw32-libtiff
-BuildRequires: pkgconfig
-
# Native one for msgfmt
BuildRequires: gettext
# Native one for glib-genmarsjal
@@ -44,8 +37,6 @@ BuildRequires: gtk2
# Native one for gdk-pixbuf-csource
BuildRequires: gtk2-devel
-Requires: pkgconfig
-
%description
MinGW Windows GDK Pixbuf library.
@@ -67,8 +58,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make DESTDIR=$RPM_BUILD_ROOT install
# The .def files are only used while compiling the libraries themselves
@@ -94,12 +83,7 @@ install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_mingw32_libdir}/gdk-pixbuf-2.0/2.10
%find_lang %{name} --all-name
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc COPYING
%{_mingw32_bindir}/gdk-pixbuf-csource.exe
%{_mingw32_bindir}/gdk-pixbuf-query-loaders.exe
More information about the scm-commits
mailing list