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 1.4.0-1 - Initial build