* RPM spec file (Ben Martin)
git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@12412 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
6cb130ee0d
commit
b8c0b7c52c
3 changed files with 68 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
SUBDIRS = src tools data doc examples
|
SUBDIRS = src tools data doc examples
|
||||||
|
|
||||||
EXTRA_DIST = autogen.sh
|
EXTRA_DIST = autogen.sh libdbus-c++.spec libdbus-c++.spec.in
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = dbus-c++-1.pc
|
pkgconfig_DATA = dbus-c++-1.pc
|
||||||
|
@ -17,5 +17,6 @@ MAINTAINERCLEANFILES = \
|
||||||
ltmain.sh \
|
ltmain.sh \
|
||||||
mdate-sh \
|
mdate-sh \
|
||||||
missing \
|
missing \
|
||||||
mkinstalldirs
|
mkinstalldirs \
|
||||||
|
libdbus-c++.spec
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@ AM_CONFIG_HEADER([include/dbus-c++/config.h])
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
|
AC_SUBST(PACKAGE_VERSION)
|
||||||
|
|
||||||
|
|
||||||
# Set configuration options
|
# Set configuration options
|
||||||
|
|
||||||
|
@ -187,4 +189,5 @@ AC_OUTPUT(
|
||||||
examples/hal/Makefile
|
examples/hal/Makefile
|
||||||
examples/glib/Makefile
|
examples/glib/Makefile
|
||||||
dbus-c++-1.pc
|
dbus-c++-1.pc
|
||||||
|
libdbus-c++.spec
|
||||||
)
|
)
|
||||||
|
|
62
libdbus-c++.spec.in
Normal file
62
libdbus-c++.spec.in
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Summary: C++ Interface for DBus
|
||||||
|
Name: libdbus-c++
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Release: 70001
|
||||||
|
URL: http://dev.openwengo.org/trac/openwengo/trac.fcgi/browser/wengophone-ng/branches/wengophone-dbus-api/libs/dbus/src
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
License: LGPL
|
||||||
|
Group: Libraries
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
Prefix: /usr
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
Ability to reflect dbus methods and signals into a more natural C++ object system.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Requires: libdbus-c++ = %{version}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Header files for libdbus-c++
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files for libdbus-c++
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure --prefix=/usr
|
||||||
|
make -j 4
|
||||||
|
|
||||||
|
%install
|
||||||
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(755,root,root)
|
||||||
|
%{prefix}/lib/libdbus-c++*.so*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{prefix}/bin/dbusxx-xml2cpp
|
||||||
|
%{prefix}/bin/dbusxx-introspect
|
||||||
|
%{prefix}/lib/libdbus-c*.a
|
||||||
|
%{prefix}/include/dbus-c++-1
|
||||||
|
%{prefix}/lib/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Feb 8 2007 Ben Martin
|
||||||
|
- initial spec file
|
Loading…
Add table
Add a link
Reference in a new issue