Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
1.10.26-1
  • Loading branch information
Tapio Rantala committed Jan 28, 2011
0 parents commit 7595ec7
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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:
12 changes: 12 additions & 0 deletions 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

5 changes: 5 additions & 0 deletions mce-headers.changes
@@ -0,0 +1,5 @@
* Fri Jan 28 2011 Tapio Rantala <ext-tapio.rantala@nokia.com> 1.10.26-1
- New upstream version (BMC#13081)

* Wed Jan 19 2011 Tapio Rantala <ext-tapio.rantala@nokia.com> 1.10.24-1
- Initial meego packaging (FEA#5525) (FEA#5526) (FEA#5527) (FEA#5528)
49 changes: 49 additions & 0 deletions 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/*

0 comments on commit 7595ec7

Please sign in to comment.