[packages/mce-devel] - headers package moved from mce.spec, updated to 1.8.21

qboosh qboosh at pld-linux.org
Wed Oct 2 20:36:07 CEST 2019


commit 06f343686d03b0a148fce04f8fb5f0acf138a5a2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 2 20:39:18 2019 +0200

    - headers package moved from mce.spec, updated to 1.8.21

 mce-devel.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mce.spec       | 46 ------------------------------------------
 2 files changed, 63 insertions(+), 46 deletions(-)
---
diff --git a/mce-devel.spec b/mce-devel.spec
new file mode 100644
index 0000000..216b6fc
--- /dev/null
+++ b/mce-devel.spec
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without	apidocs	# Doxygen documentation
+
+Summary:	Maemo MCE (Mode Control Entity) definitions headers
+Summary(pl.UTF-8):	Pliki nagłówkowe definicji MCE (Mode Control Entity) dla Maemo
+Name:		mce-devel
+Version:	1.8.21
+Release:	1
+License:	LGPL v2.1
+Group:		Development/Libraries
+#Source0Download: https://github.com/maemo-leste/mce-dev/releases
+Source0:	https://github.com/maemo-leste/mce-dev/archive/%{version}/mce-dev_%{version}.tar.gz
+# Source0-md5:	ac09bf4648adf038e3ebf05380434146
+URL:		https://maemo.org/
+%{?with_apidocs:BuildRequires:	doxygen}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Maemo MCE (Mode Control Entity) definitions headers.
+
+%description -l pl.UTF-8
+Pliki nagłówkowe definicji MCE (Mode Control Entity) dla Maemo.
+
+%package -n mce-apidocs
+Summary:	Documentation for Maemo MCE (Mode Control Entity) definitions headers
+Summary(pl.UTF-8):	Dokumentacja plików nagłówkowych definicji Maemo MCE (Mode Control Entity)
+Group:		Documentation
+
+%description -n mce-apidocs
+Documentation for Maemo MCE (Mode Control Entity) definitions headers.
+
+%description -n mce-apidocs -l pl.UTF-8
+Dokumentacja plików nagłówkowych definicji Maemo MCE (Mode Control
+Entity).
+
+%prep
+%setup -q -n mce-dev-%{version}
+
+%build
+%{__make} mce.pc %{?with_apidocs:doc}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PKGCONFIG_DIR=$RPM_BUILD_ROOT%{_npkgconfigdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_includedir}/mce
+%{_npkgconfigdir}/mce.pc
+
+%if %{with apidocs}
+%files -n mce-apidocs
+%defattr(644,root,root,755)
+%doc doc/html/*.{css,html,js,png}
+%endif
diff --git a/mce.spec b/mce.spec
deleted file mode 100644
index a3beaba..0000000
--- a/mce.spec
+++ /dev/null
@@ -1,46 +0,0 @@
-Summary:	Maemo MCE (Mode Control Entity) definitions
-Summary(pl.UTF-8):	Definicje MCE (Mode Control Entity) dla Maemo
-Name:		mce
-Version:	1.5.6
-Release:	1
-License:	BSD
-Group:		Development/Libraries
-Source0:	http://repository.maemo.org/pool/bora/free/source/%{name}-dev_%{version}.tar.gz
-# Source0-md5:	b3a28fe9bcec2fc7ae70f5d819bf3d1a
-URL:		https://maemo.org/
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Maemo MCE (Mode Control Entity) definitions.
-
-%description -l pl.UTF-8
-Definicje MCE (Mode Control Entity) dla Maemo.
-
-%package devel
-Summary:	Maemo MCE (Mode Control Entity) definition headers
-Summary(pl.UTF-8):	Pliki nagłówkowe definiujące MCE (Mode Control Entity) dla Maemo
-Group:		Development/Libraries
-
-%description devel
-Maemo MCE (Mode Control Entity) definition headers.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe definiujące MCE (Mode Control Entity) dla Maemo.
-
-%prep
-%setup -q -n mce-dev-%{version}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkgconfigdir},%{_includedir}/mce}
-
-install mce.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
-install include/mce/*.h $RPM_BUILD_ROOT%{_includedir}/mce
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files devel
-%defattr(644,root,root,755)
-%{_includedir}/mce
-%{_pkgconfigdir}/mce.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mce-devel.git/commitdiff/06f343686d03b0a148fce04f8fb5f0acf138a5a2



More information about the pld-cvs-commit mailing list