packages: mx/mx.spec (NEW) - new
megabajt
megabajt at pld-linux.org
Sat Apr 2 11:57:51 CEST 2011
Author: megabajt Date: Sat Apr 2 09:57:51 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/mx:
mx.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mx/mx.spec
diff -u /dev/null packages/mx/mx.spec:1.1
--- /dev/null Sat Apr 2 11:57:51 2011
+++ packages/mx/mx.spec Sat Apr 2 11:57:45 2011
@@ -0,0 +1,131 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # do not build and package API docs
+#
+Summary: Mx Toolkit
+Name: mx
+Version: 1.1.9
+Release: 1
+License: LGPL v2
+Group: X11/Libraries
+Source0: http://source.clutter-project.org/sources/mx/1.1/%{name}-%{version}.tar.bz2
+# Source0-md5: a486b817bef19e017b3e09fe1578b126
+URL: http://www.clutter-project.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: clutter-devel >= 1.4.0
+BuildRequires: dbus-glib-devel >= 0.82
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: gobject-introspection-devel >= 0.6.4
+BuildRequires: gtk+2-devel >= 2:2.20.0
+BuildRequires: gtk-doc >= 1.14
+BuildRequires: libgladeui-devel >= 3.4.5
+BuildRequires: libtool
+BuildRequires: pkgconfig
+BuildRequires: startup-notification-devel >= 0.9
+BuildRequires: xorg-lib-libXrandr-devel >= 1.2.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mx is a widget toolkit using Clutter that provides a set of standard
+interface elements, including buttons, progress bars, scroll bars and
+others. It also implements some standard managers. One other
+interesting feature is the possibility setting style properties from a
+CSS format file.
+
+%package devel
+Summary: Header files for mx libraries
+Summary(pl.UTF-8): Pliki nagłówkowe bibliotek mx
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: clutter-devel >= 1.4.0
+Requires: gtk+2-devel >= 2:2.20.0
+
+%description devel
+Header files for mx libraries.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek mx.
+
+%package apidocs
+Summary: mx libraries API documentation
+Summary(pl.UTF-8): Dokumentacja API bibliotek mx
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+API documentation for mx libraries.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API bibliotek mx.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ %{__enable_disable apidocs gtk-doc} \
+ --disable-silent-rules \
+ --with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%find_lang %{name}-1.0
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{name}-1.0.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/mx-create-image-cache
+%attr(755,root,root) %{_libdir}/libmx-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmx-1.0.so.2
+%attr(755,root,root) %{_libdir}/libmx-gtk-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmx-gtk-1.0.so.0
+%{_libdir}/girepository-1.0/Mx-1.0.typelib
+%{_libdir}/girepository-1.0/MxGtk-1.0.typelib
+%{_datadir}/mx
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmx-1.0.so
+%attr(755,root,root) %{_libdir}/libmx-gtk-1.0.so
+%{_datadir}/gir-1.0/Mx-1.0.gir
+%{_datadir}/gir-1.0/MxGtk-1.0.gir
+%{_includedir}/mx-1.0
+%{_pkgconfigdir}/mx-1.0.pc
+%{_pkgconfigdir}/mx-gtk-1.0.pc
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/mx-gtk
+%{_gtkdocdir}/mx
+%endif
+
+%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 2011/04/02 09:57:45 megabajt
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list