[libmatecomponentui/f18] initial build

Dan Mashal vicodan at fedoraproject.org
Tue Sep 18 16:29:21 UTC 2012


commit 374787663f8f7b1214a7c2c22609d150333bbf73
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date:   Tue Sep 18 09:29:06 2012 -0700

    initial build

 libmatecomponentui.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/libmatecomponentui.spec b/libmatecomponentui.spec
new file mode 100644
index 0000000..6a9a3bd
--- /dev/null
+++ b/libmatecomponentui.spec
@@ -0,0 +1,70 @@
+Name:	libmatecomponentui	
+Version:	1.4.0
+Release:	1%{?dist}
+Summary:	Libraries for MATE Desktop ui
+License:	GPLv2+
+URL:	http://mate-desktop.org
+Source0:	http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+
+BuildRequires:	desktop-file-utils mate-common mate-conf-devel libmatecanvas-devel libmatecomponent-devel libmate-devel mate-doc-utils libglade2-devel popt-devel
+
+%description
+Libraries for MATE Desktop ui
+
+%package devel
+Summary: Includes for libmatecomponentui
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for libmatecomponentui
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+
+%build
+%configure --disable-static --enable-gtk-doc-html
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+find %{buildroot} -name '*.la' -exec rm -rf {} ';'
+find %{buildroot} -name '*.a' -exec rm -rf {} ';'
+desktop-file-install									\
+	--remove-category="MATE"							\
+	--add-category="X-Mate"								\
+	--remove-only-show-in="MATE"							\
+	--add-only-show-in="X-MATE"							\
+	--delete-original								\
+	--dir=%{buildroot}%{_datadir}/applications					\
+%{buildroot}/%{_datadir}/applications/matecomponent-browser.desktop
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%{_bindir}/mate-test-moniker
+%{_bindir}/matecomponent-browser
+%{_libdir}/libmatecomponentui-2.so.*
+%{_datadir}/gtk-doc/html/libmatecomponentui/
+%{_datadir}/mate-2.0/ui/
+%{_datadir}/applications/matecomponent-browser.desktop
+%{_libdir}/matecomponent-2.0/samples/matecomponent-sample-controls-2
+%{_libdir}/matecomponent/servers/CanvDemo.server
+%{_libdir}/matecomponent/servers/MateComponent_Sample_Controls.server
+
+%files devel
+%{_includedir}/libmatecomponentui-2.0/
+%{_libdir}/libglade/2.0/libmatecomponent.so
+%{_libdir}/pkgconfig/libmatecomponentui-2.0.pc
+%{_libdir}/libmatecomponentui-2.so
+
+%changelog
+* Sun Aug 26 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-1
+- Initial build


More information about the scm-commits mailing list