]> git.pld-linux.org Git - packages/babl.git/commitdiff
- added
authoraredridel <aredridel@pld-linux.org>
Sun, 10 Jun 2007 23:21:40 +0000 (23:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    babl-as-needed.patch -> 1.1
    babl.spec -> 1.1

babl-as-needed.patch [new file with mode: 0644]
babl.spec [new file with mode: 0644]

diff --git a/babl-as-needed.patch b/babl-as-needed.patch
new file mode 100644 (file)
index 0000000..d19915f
--- /dev/null
@@ -0,0 +1,16 @@
+diff -ur babl-0.0.14-o/babl/Makefile.am babl-0.0.14/babl/Makefile.am
+--- babl-0.0.14-o/babl/Makefile.am     2007-02-14 16:21:20.000000000 -0700
++++ babl-0.0.14/babl/Makefile.am       2007-06-10 17:18:09.000000000 -0600
+@@ -51,8 +51,11 @@
+ libbabl_@BABL_API_VERSION@_la_SOURCES= $(h_sources) $(c_sources)
+ libbabl_@BABL_API_VERSION@_la_LIBADD=\
+       base/libbase.la \
++      $(DL_LIB) $(MATH_LIB) \
+       @LTLIBOBJS@
++EXTRA_LTLIBRARIES =
++
+ libbabl_@BABL_API_VERSION@_la_LDFLAGS= \
+       ${no_undefined}                \
+       -version-info $(BABL_LIBRARY_VERSION)
+Only in babl-0.0.14/babl: Makefile.am~
diff --git a/babl.spec b/babl.spec
new file mode 100644 (file)
index 0000000..f7c578e
--- /dev/null
+++ b/babl.spec
@@ -0,0 +1,75 @@
+#
+Summary:       Library for pixel-format agnosticism
+Name:          babl
+Version:       0.0.14
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       ftp://ftp.gtk.org/pub/babl/0.0/%{name}-%{version}.tar.bz2
+# Source0-md5: c8274d0a2686f7f59e979313bd8e78fe
+Patch0:                %{name}-as-needed.patch
+URL:           http://www.gegl.org/babl/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: glib2-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Babl is a dynamic, any to any, pixel format conversion library. It
+provides conversions between the myriad of buffer types images can be
+stored in. Babl doesn't only help with existing pixel formats, but
+also facilitates creation of new and uncommon ones.
+
+%package devel
+Summary:       Header files for babl library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki babl
+Group:         Development/Libraries
+# if base package contains shared library for which these headers are
+#Requires:     %{name} = %{version}-%{release}
+# if -libs package contains shared library for which these headers are
+#Requires:     %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for babl library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki babl.
+
+%package static
+Summary:       Static babl library
+Summary(pl.UTF-8):     Statyczna biblioteka babl
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static babl library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka babl.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
This page took 0.129631 seconds and 4 git commands to generate.