commit 7595ec766819a01e21a67d93aab99b03fd61b129 Author: Tapio Rantala Date: Fri Jan 28 13:06:34 2011 +0200 1.10.26-1 diff --git a/mce-headers-1.10.24-create-directory.patch b/mce-headers-1.10.24-create-directory.patch new file mode 100644 index 0000000..67c364f --- /dev/null +++ b/mce-headers-1.10.24-create-directory.patch @@ -0,0 +1,12 @@ +diff --git a/Makefile b/Makefile +index b6784ad..7a293fd 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,6 +22,7 @@ INCLUDE_FILES := $(INCDIR)/dbus-names.h $(INCDIR)/mode-names.h + + .PHONY: doc + doc: ++ mkdir -p $(TOPDIR)/doc/ + @$(DOXYGEN) 2> $(TOPDIR)/doc/warnings > /dev/null + + clean: diff --git a/mce-headers-1.10.24-no-ownership.patch b/mce-headers-1.10.24-no-ownership.patch new file mode 100644 index 0000000..cf59539 --- /dev/null +++ b/mce-headers-1.10.24-no-ownership.patch @@ -0,0 +1,12 @@ +diff -urN a/Makefile b/Makefile +--- a/Makefile 2009-11-30 09:41:59.397638000 +0200 ++++ b/Makefile 2010-07-07 14:50:26.226452261 +0300 +@@ -6,7 +6,7 @@ + # Modified by: Ilya Dogolazky, Tuomo Tanskanen + + INSTALL_DIR := install -d +-INSTALL_DATA := install -o root -g root --mode=644 ++INSTALL_DATA := install --mode=644 + + DOXYGEN := doxygen + diff --git a/mce-headers.changes b/mce-headers.changes new file mode 100644 index 0000000..fe9aa48 --- /dev/null +++ b/mce-headers.changes @@ -0,0 +1,5 @@ +* Fri Jan 28 2011 Tapio Rantala 1.10.26-1 +- New upstream version (BMC#13081) + +* Wed Jan 19 2011 Tapio Rantala 1.10.24-1 +- Initial meego packaging (FEA#5525) (FEA#5526) (FEA#5527) (FEA#5528) diff --git a/mce-headers.spec b/mce-headers.spec new file mode 100644 index 0000000..1f8485c --- /dev/null +++ b/mce-headers.spec @@ -0,0 +1,49 @@ +%define _shortname mce-dev +Name: mce-headers +Version: 1.10.26 +Release: 1 +Summary: Development files for mce +Group: Development/Libraries +License: LGPLv2 +URL: http://meego.gitorious.org/meego-middleware/mce-dev/ +Source0: %{_shortname}-%{version}.tar.bz2 +Patch0: %{name}-1.10.24-no-ownership.patch +Patch1: %{name}-1.10.24-create-directory.patch + +BuildRequires: doxygen + +%description +This package contains headers defining the D-Bus method calls +provided by the Mode Control Entity, and the signals emitted by it. + +%package -n mce-doc +Summary: Documentation files for mce D-Bus API +Group: Documentation + +%description -n mce-doc +This package contains documentation describing the D-Bus method calls +provided by the Mode Control Entity, and the signals emitted by it. + +%prep +%setup -q -n %{_shortname}-%{version} +%patch0 -p1 +%patch1 -p1 + +%build +make %{?_smp_mflags} doc + +%install +%make_install +install -d %{buildroot}/%{_docdir}/mce-doc/html/ +install -m 644 doc/html/* %{buildroot}/%{_docdir}/mce-doc/html/ + +%files +%defattr(-,root,root,-) +%doc COPYING debian/copyright +%{_includedir}/mce/*.h +%{_libdir}/pkgconfig/mce.pc + +%files -n mce-doc +%defattr(-,root,root,-) +%doc COPYING debian/changelog debian/copyright +%{_docdir}/mce-doc/html/*