summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/edbus/Makefile.am3
-rw-r--r--legacy/edbus/configure.ac1
-rw-r--r--legacy/edbus/edbus.spec.in64
3 files changed, 67 insertions, 1 deletions
diff --git a/legacy/edbus/Makefile.am b/legacy/edbus/Makefile.am
index 1c7df4deeb..f33f99e3b7 100644
--- a/legacy/edbus/Makefile.am
+++ b/legacy/edbus/Makefile.am
@@ -1,7 +1,8 @@
1ACLOCAL_AMFLAGS = -I m4 1ACLOCAL_AMFLAGS = -I m4
2CLEANFILES = 2CLEANFILES =
3MAINTAINERCLEANFILES = 3MAINTAINERCLEANFILES =
4EXTRA_DIST = 4EXTRA_DIST = \
5 edbus.spec
5 6
6SUBDIRS = doc 7SUBDIRS = doc
7 8
diff --git a/legacy/edbus/configure.ac b/legacy/edbus/configure.ac
index e203746353..eb863d1321 100644
--- a/legacy/edbus/configure.ac
+++ b/legacy/edbus/configure.ac
@@ -107,6 +107,7 @@ AC_SUBST(VMIN)
107 107
108AC_CONFIG_FILES([ 108AC_CONFIG_FILES([
109Makefile 109Makefile
110edbus.spec
110doc/Makefile 111doc/Makefile
111doc/Doxyfile 112doc/Doxyfile
112]) 113])
diff --git a/legacy/edbus/edbus.spec.in b/legacy/edbus/edbus.spec.in
new file mode 100644
index 0000000000..9a99110efa
--- /dev/null
+++ b/legacy/edbus/edbus.spec.in
@@ -0,0 +1,64 @@
1%define _missing_doc_files_terminate_build 0
2
3%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
4
5Summary: EFL Wrapper for DBus
6Name: @PACKAGE@
7Version: @VERSION@
8Release: %{_rel}
9License: BSD
10Group: System Environment/Libraries
11URL: http://www.enlightenment.org/
12Source: %{name}-%{version}.tar.gz
13Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
14Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
15Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
16Obsoletes: ecore-dbus <= 0.9.9.040
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19%description
20edbus provides a convenience wrapper for EFL applications using DBus.
21
22%package devel
23Summary: edbus headers, static libraries, documentation and test programs
24Group: System Environment/Libraries
25Requires: %{name} = %{version}
26
27%description devel
28Headers, static libraries, test programs and documentation for edbus
29
30%prep
31%setup -q
32
33%build
34%{configure} --prefix=%{_prefix}
35%{__make} %{?_smp_mflags} %{?mflags}
36
37%install
38%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
39
40# Get rid of unneeded testing cruft.
41%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
42
43%clean
44test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
45
46%post
47/sbin/ldconfig
48
49%postun
50/sbin/ldconfig
51
52%files
53%defattr(-, root, root)
54%doc AUTHORS COPYING* README
55%{_libdir}/*.so.*
56
57%files devel
58%defattr(-, root, root)
59%{_includedir}/edbus-1/*.h
60%{_libdir}/*.so
61%{_libdir}/*.la
62%{_libdir}/pkgconfig/*
63
64%changelog