]> git.pld-linux.org Git - packages/libucil.git/blobdiff - libucil.spec
- release 10 (by relup.sh)
[packages/libucil.git] / libucil.spec
index 052035ccaeba42e99a13ffbd1ce97b170da71242..539a1d9bab71779f05c2b2d3a8d2eca780a94436 100644 (file)
@@ -1,26 +1,31 @@
 #
 # Conditional build:
 %bcond_with    ffmpeg  # avcodec support (needs some unidentified ffmpeg version)
-#
+
 Summary:       Unicap Imaging Library - simple image processing functions
 Summary(pl.UTF-8):     Unicap Imaging Library - biblioteka prostych funkcji przetwarzania obrazu
 Name:          libucil
 Version:       0.9.10
-Release:       1
+Release:       10
 License:       GPL v2+
 Group:         Libraries
 #Source0Download: http://unicap-imaging.org/download.htm
 Source0:       http://unicap-imaging.org/downloads/%{name}-%{version}.tar.gz
 # Source0-md5: 986adfd387d64726acd0267565ff9431
+Patch0:                %{name}-ac.patch
 URL:           http://unicap-imaging.org/
 BuildRequires: alsa-lib-devel >= 0.9
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake
 %{?with_ffmpeg:BuildRequires:  ffmpeg-devel >= ? < ?}
+BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 1:2.11.0
 BuildRequires: gstreamer-devel >= 0.10
 BuildRequires: gstreamer-plugins-base-devel >= 0.10
 BuildRequires: gtk-doc >= 1.4
 BuildRequires: libpng-devel
 BuildRequires: libtheora-devel
+BuildRequires: libtool
 BuildRequires: libunicap-devel
 BuildRequires: libvorbis-devel
 BuildRequires: pango-devel
@@ -74,6 +79,9 @@ Summary:      ucil API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki ucil
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 API documentation for ucil library.
@@ -83,11 +91,18 @@ Dokumentacja API biblioteki ucil.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # --enable-gpl allows to use some GPL gstreamer modules
 # (doesn't affect libucil license, as it's GPLed anyway)
 %{?with_ffmpeg:CPPFLAGS="%{rpmcppflags} -I/usr/include/libavcodec -I/usr/include/libavutil"}
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --enable-gpl \
        %{?with_ffmpeg:--enable-ucil-avcodec} \
This page took 0.060822 seconds and 4 git commands to generate.