[libmatecanvas/f18] initial build for fedora
Wolfgang Ulbrich
raveit65 at fedoraproject.org
Thu Aug 16 20:22:40 UTC 2012
commit d1d37b9a026fad3dd4892d4731259a5fc287cea9
Author: raveit65 <chat-to-me at raveit.de>
Date: Thu Aug 16 22:22:36 2012 +0200
initial build for fedora
- edit -devel description
- co-owned %{_datadir}/gtk-doc and remve gtk-doc requires
- add isa tag
- remove %defattr lines in %files
- clean build requires
.gitignore | 1 +
libmatecanvas.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0100b5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmatecanvas-1.4.0.tar.xz
diff --git a/libmatecanvas.spec b/libmatecanvas.spec
new file mode 100644
index 0000000..78881c1
--- /dev/null
+++ b/libmatecanvas.spec
@@ -0,0 +1,79 @@
+%global gettext_package libmatecanvas-2.0
+
+Summary: MateCanvas widget
+Name: libmatecanvas
+Version: 1.4.0
+Release: 6%{?dist}
+URL: http://mate-desktop.org
+Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+License: LGPLv2+
+Group: System Environment/Libraries
+
+BuildRequires: gtk2-devel
+BuildRequires: libart_lgpl-devel
+BuildRequires: libglade2-devel
+BuildRequires: mate-common
+
+
+%description
+The canvas widget allows you to create custom displays using stock items
+such as circles, lines, text, and so on. It was originally a port of the
+Tk canvas widget but has evolved quite a bit over time.
+
+%package devel
+Summary: Libraries and headers for libmatecanvas
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The libmatecanvas-devel package contains libraries and header files for
+developing applications that use libmatecanvas.
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure \
+ --enable-glade \
+ --disable-static
+
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%find_lang %{name}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%doc COPYING.LIB AUTHORS NEWS README
+%{_libdir}/lib*.so.*
+%{_libdir}/libglade/2.0/libgladematecanvas.so
+
+%files devel
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*
+%{_includedir}/*
+%{_datadir}/gtk-doc
+
+%changelog
+* Tue Jul 24 2012 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.4.0-6
+- initial build for fedora
+- edit -devel description
+- co-owned %%{_datadir}/gtk-doc and remve gtk-doc requires
+- add isa tag
+- remove %%defattr lines in %%files
+- clean build requires
+
+* Sat Dec 24 2011 Wolfgang Ulbrich <chat-to-me at raveit.de> - libmate-1.1.0.1
+- libmatecanvas.spec based on libgnomecanvas-2.30.3-3.fc17 spec
+
diff --git a/sources b/sources
index e69de29..e3e83fe 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4d37944defbc3518337a73141d51aa14 libmatecanvas-1.4.0.tar.xz
More information about the scm-commits
mailing list