diff --git a/.gitignore b/.gitignore index 3271794..cf31d67 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fwupd-0.1.0.tar.xz +/fwupd-0.1.1.tar.xz diff --git a/fwupd.spec b/fwupd.spec index 32e5bd5..2d2a5ea 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -1,6 +1,6 @@ Summary: Firmware update daemon Name: fwupd -Version: 0.1.0 +Version: 0.1.1 Release: 1%{?dist} License: GPLv2+ URL: https://github.com/hughsie/fwupd @@ -16,6 +16,7 @@ BuildRequires: polkit-devel >= 0.103 BuildRequires: libgcab1-devel BuildRequires: sqlite-devel BuildRequires: systemd +BuildRequires: gobject-introspection-devel Requires(post): systemd Requires(preun): systemd @@ -32,6 +33,13 @@ BuildRequires: libappstream-glib-devel %description fwupd is a daemon to allow session software to update device firmware. +%package devel +Summary: Development package for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +Files for development with %{name}. + %prep %setup -q @@ -47,16 +55,19 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT +find %{buildroot} -name '*.la' -exec rm -f {} ';' %find_lang %{name} %post +/sbin/ldconfig %systemd_post fwupd.service %preun %systemd_preun fwupd.service %postun +/sbin/ldconfig %systemd_postun_with_restart fwupd.service %files -f %{name}.lang @@ -72,7 +83,23 @@ make install DESTDIR=$RPM_BUILD_ROOT %{_datadir}/man/man1/fwupdmgr.1.gz %{_unitdir}/fwupd.service %dir %{_localstatedir}/lib/fwupd +%{_libdir}/lib*.so.* +%{_libdir}/girepository-1.0/*.typelib + +%files devel +%{_includedir}/fwupd-1 +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/*.gir %changelog +* Mon Mar 23 2015 Richard Hughes 0.1.1-1 +- New upstream release +- Add a 'get-updates' command to fwupdmgr +- Add and document the offline-update lifecycle +- Create a libfwupd shared library +- Create runtime directories if they do not exist +- Do not crash when there are no devices to return + * Mon Mar 16 2015 Richard Hughes 0.1.0-1 - First release diff --git a/sources b/sources index 6cf0c66..ebf3a5d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -983f391137d4404c88f5b05b335513c3 fwupd-0.1.0.tar.xz +87819887a63bbf953e9ee4e3aa54359a fwupd-0.1.1.tar.xz