SPECS: python-PythonMagick.spec (NEW) - new
witekfl
witekfl at pld-linux.org
Wed Jan 7 14:30:49 CET 2009
Author: witekfl Date: Wed Jan 7 13:30:49 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-PythonMagick.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-PythonMagick.spec
diff -u /dev/null SPECS/python-PythonMagick.spec:1.1
--- /dev/null Wed Jan 7 14:30:49 2009
+++ SPECS/python-PythonMagick.spec Wed Jan 7 14:30:43 2009
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+%define module PythonMagick
+Summary: PythonMagick
+Summary(pl.UTF-8): Interfejs Pythona do ImageMagicka
+Name: python-%{module}
+Version: 0.8
+Release: 1
+License: GPL v3
+Group: Development/Languages/Python
+Source0: http://www.imagemagick.org/download/python/%{module}-%{version}.tar.lzma
+# Source0-md5: 9b462dcc26a64e4fb02004996c72da8b
+Patch0: %{name}-ac.patch
+BuildRequires: ImageMagick-c++-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: boost-python-devel
+BuildRequires: libtool
+BuildRequires: lzma >= 1:4.42
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#%pyrequires_eq python-libs
+%pyrequires_eq python-modules
+# Build fails D_FORTIFY_SOURCE
+%define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PythonMagick is the Python API for the ImageMagick.
+
+%description -l pl.UTF-8
+PythonMagick to moduł Pythona do ImageMagicka.
+
+%prep
+%setup -q -c -T -n %{module}-%{version}
+lzma -dc %{SOURCE0} | tar xf - -C ..
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+ --enable-static=no \
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitedir}/PythonMagick/*.py[co]
+%attr(755,root,root) %{py_sitedir}/PythonMagick/*.so
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/01/07 13:30:43 witekfl
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list