Author: lkrotowski Date: Sun Jan 22 01:06:05 2012 GMT Module: packages Tag: HEAD ---- Log message: - initial revision
---- Files affected: packages/gmtk: gmtk.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/gmtk/gmtk.spec diff -u /dev/null packages/gmtk/gmtk.spec:1.1 --- /dev/null Sun Jan 22 02:06:05 2012 +++ packages/gmtk/gmtk.spec Sun Jan 22 02:06:00 2012 @@ -0,0 +1,95 @@ +# $Revision$, $Date$ +# TODO: +# - fix unresolved symbols in post check +# +# Conditional build: +%bcond_without gtk3 # build without GTK+3 + +Summary: Gnome-mplayer toolkit +Name: gmtk +Version: 1.0.5 +Release: 1 +License: GPL +Group: X11/Applications/Multimedia +Source0: http://gmtk.googlecode.com/files/%{name}-%{version}.tar.gz +# Source0-md5: e06e9ca8d61d74910343bb3ef4348f7f +URL: http://gmtk.googlecode.com +BuildRequires: autoconf >= 2.57 +BuildRequires: automake +BuildRequires: gettext +%if %{with gtk3} +BuildRequires: gtk+3-devel +%else +BuildRequires: gtk+2-devel +%endif +BuildRequires: libtool +BuildRequires: pulseaudio-devel + +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define skip_post_check_so libgmlib.so.0.0.0 libgmtk.so.0.0.0 + +%description +Library for gnome-mplayer and gecko-mediaplayer. + +%package devel +Summary: Include files for the gmtk +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the necessary include files to allow you to +develop programs using the gmtk. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure \ + %{!?with_gtk3:--disable-gtk3} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files -f %{name}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libgmlib.so.*.*.* +%attr(755,root,root) %{_libdir}/libgmtk.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%doc ChangeLog +%attr(755,root,root) %{_libdir}/libgmlib.so +%attr(755,root,root) %{_libdir}/libgmtk.so +%{_includedir}/gmtk +%{_pkgconfigdir}/gmlib.pc +%{_pkgconfigdir}/gmtk.pc + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/01/22 01:06:00 lkrotowski +- initial revision + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
