SPECS: dbus-glib.spec (NEW) - based on dbus.spec
freetz
freetz at pld-linux.org
Tue Aug 8 19:04:30 CEST 2006
Author: freetz Date: Tue Aug 8 17:04:29 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- based on dbus.spec
---- Files affected:
SPECS:
dbus-glib.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/dbus-glib.spec
diff -u /dev/null SPECS/dbus-glib.spec:1.1
--- /dev/null Tue Aug 8 19:04:29 2006
+++ SPECS/dbus-glib.spec Tue Aug 8 19:04:24 2006
@@ -0,0 +1,110 @@
+# $Revision$, $Date$
+#
+%define dbus_version 0.91
+%define expat_version 1:1.95.5
+%define glib_version 1:2.10.1
+#
+Summary: GLib-based library for using D-BUS
+Summary(pl): Biblioteka do używania D-BUS oparta o GLib
+Name: dbus-glib
+Version: 0.71
+Release: 1
+License: AFL v2.1 or GPL v2
+Group: Libraries
+Source0: http://dbus.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 4e1e7348b26ee8b6485452113f4221cc
+URL: http://www.freedesktop.org/Software/dbus
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake
+BuildRequires: dbus-devel >= %{dbus_version}
+BuildRequires: expat-devel >= %{expat_version}
+BuildRequires: glib2-devel >= %{glib_version}
+BuildRequires: pkgconfig
+Requires: dbus-libs >= %{dbus_version}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+D-BUS add-on library to integrate the standard D-BUS library with the
+GLib thread abstraction and main loop.
+
+%description -l pl
+Dodatkowa biblioteka D-BUS do integracji standardowej biblioteki D-BUS
+z abstrakcją wątków i główną pętlą GLib.
+
+%package devel
+Summary: Header files for GLib-based library for using D-BUS
+Summary(pl): Pliki nagłówkowe biblioteki do używania D-BUS opartej o GLib
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: dbus-devel >= %{dbus_version}
+Requires: glib2-devel >= %{glib2_version}
+
+%description devel
+Header files for GLib-based library for using D-BUS.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki do używania D-BUS opartej o GLib.
+
+%package static
+Summary: Static GLib-based library for using D-BUS
+Summary(pl): Statyczna biblioteka do używania D-BUS oparta o GLib
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static GLib-based library for using D-BUS.
+
+%description static -l pl
+Statyczna biblioteka do używania D-BUS oparta o GLib.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --with-xml=expat
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdbus-glib-1.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/dbus-binding-tool
+%attr(755,root,root) %{_libdir}/libdbus-glib-1.so
+%{_libdir}/libdbus-glib-1.la
+%{_includedir}/dbus*/dbus/dbus-glib*.h
+%{_includedir}/dbus*/dbus/dbus-gtype-specialized.h
+%{_pkgconfigdir}/dbus-glib-1.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libdbus-glib-1.a
+
+%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 2006/08/08 17:04:24 freetz
+- based on dbus.spec
+
================================================================
More information about the pld-cvs-commit
mailing list