[packaging] move to git based packaging

This commit is contained in:
Islam Amer
2013-05-18 14:20:28 +03:00
parent 1ba395ffc1
commit 736c7bea93
4 changed files with 144 additions and 0 deletions

View File

@@ -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

22
rpm/mce-headers.changes Normal file
View File

@@ -0,0 +1,22 @@
* Wed Mar 06 2013 Simo Piiroinen <simo.piiroinen@jollamobile.com> - 1.12.3
- Added cpu-keepalive methods
- Removed unintentional mce-doc -> mce-headers dependency
* Mon Dec 10 2012 Marko Saukko <marko.saukko@jollamobile.com> - 1.12.2
- Updated packaging.
* Wed Oct 31 2012 Islam Amer <islam.amer@jollamobile.com> - 1.12.2
- Version bump to 1.12.2 to sync with mce version
- Added MCE_TK_LOCKED_DELAY
* Sun Dec 18 2011 Markus Lehtonen <markus.lehtonen@iki.fi> - 1.11.0
- Version bump to 1.11.0
* Mon Oct 24 2011 Marko Saukko <marko.saukko@cybercom.com> - 1.10.26-1
- Added .yaml for spectacle.
* 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)

80
rpm/mce-headers.spec Normal file
View File

@@ -0,0 +1,80 @@
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.26
#
Name: mce-headers
# >> macros
# << macros
Summary: Development files for mce
Version: 1.12.3
Release: 1
Group: Development/Libraries
License: LGPLv2
URL: https://github.com/nemomobile/mce-dev
Source0: %{name}-%{version}.tar.bz2
Source100: mce-headers.yaml
Patch0: %{name}-1.10.24-no-ownership.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
BuildArch: noarch
%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 %{name}-%{version}
# %{name}-1.10.24-no-ownership.patch
%patch0 -p1
# >> setup
# << setup
%build
# >> build pre
# << build pre
make %{?jobs:-j%jobs}
# >> build post
make doc
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
install -d %{buildroot}/%{_docdir}/mce-doc/html/
install -m 644 doc/html/* %{buildroot}/%{_docdir}/mce-doc/html/
# << install post
%files
%defattr(-,root,root,-)
# >> files
%doc COPYING debian/copyright
%{_includedir}/mce/*.h
%{_libdir}/pkgconfig/mce.pc
# << files
%files -n mce-doc
%defattr(-,root,root,-)
# >> files mce-doc
%doc COPYING debian/changelog debian/copyright
%{_docdir}/mce-doc/html/*
# << files mce-doc

30
rpm/mce-headers.yaml Normal file
View File

@@ -0,0 +1,30 @@
Name: mce-headers
Summary: Development files for mce
Version: 1.12.3
Release: 1
Group: Development/Libraries
License: LGPLv2
URL: https://github.com/nemomobile/mce-dev
Sources:
- "%{name}-%{version}.tar.bz2"
Patches:
- "%{name}-1.10.24-no-ownership.patch"
Description: |
This package contains headers defining the D-Bus method calls
provided by the Mode Control Entity, and the signals emitted by it.
PkgBR:
- doxygen
Configure: none
Builder: make
SubPackages:
- Name: mce-doc
AsWholeName: yes
Summary: Documentation files for mce D-Bus API
Group: Documentation
BuildArch: noarch
AutoDepend: false
Description: |
This package contains documentation describing the D-Bus method calls
provided by the Mode Control Entity, and the signals emitted by it.