From 39a9909a74df294369bc000eede1dfe165cd0b04 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jan 12 2017 22:29:46 +0000 Subject: Initial import (#1412732). --- diff --git a/.gitignore b/.gitignore index e69de29..6541fdd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/appcenter-0.1.3.tar.xz diff --git a/appcenter.spec b/appcenter.spec new file mode 100644 index 0000000..43156c1 --- /dev/null +++ b/appcenter.spec @@ -0,0 +1,110 @@ +Name: appcenter +Summary: Software Center for the Pantheon desktop +Version: 0.1.3 +Release: 3%{?dist} +License: GPLv3 +URL: https://launchpad.net/appcenter + +Source0: https://launchpad.net/%{name}/loki/%{version}/+download/%{name}-%{version}.tar.xz + +BuildRequires: cmake +BuildRequires: cmake-elementary +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: intltool +BuildRequires: libappstream-glib +BuildRequires: pkgconfig +BuildRequires: vala >= 0.26 + +BuildRequires: appstream-vala + +BuildRequires: pkgconfig(appstream) >= 0.10.0 +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 +BuildRequires: pkgconfig(packagekit-glib2) +BuildRequires: pkgconfig(unity) >= 4.0.0 + +Requires: PackageKit + + +%description +Get apps for elementary OS. + +AppCenter is a native Gtk+ app store built on AppStream and Packagekit. + + +%prep +%autosetup + + +%build +mkdir build && pushd build +%cmake .. +%make_build +popd + + +%install +pushd build +%make_install +popd + +%find_lang appcenter + + +%check +desktop-file-validate %{buildroot}/%{_datadir}/applications/org.pantheon.appcenter.desktop +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/appcenter.appdata.xml + + +%files -f appcenter.lang +%doc AUTHORS +%license COPYING + +%{_bindir}/appcenter + +%{_datadir}/appdata/appcenter.appdata.xml +%{_datadir}/applications/org.pantheon.appcenter.desktop +%{_datadir}/applications/org.pantheon.appcenter-daemon.desktop +%{_datadir}/glib-2.0/schemas/org.pantheon.appcenter.gschema.xml + + +%changelog +* Tue Jan 10 2017 Fabio Valentini - 0.1.3-3 +- Clean up spec file. + +* Sat Dec 24 2016 Fabio Valentini - 0.1.3-2 +- Enable libunity support. + +* Mon Dec 05 2016 Fabio Valentini - 0.1.3-1 +- Update to version 0.1.3. + +* Sun Nov 20 2016 Fabio Valentini - 0.1.2-2 +- Build out of tree. + +* Sat Oct 29 2016 Fabio Valentini - 0.1.2-1 +- Update to version 0.1.2. + +* Fri Oct 07 2016 Neal Gompa - 0.1.1-4 +- Add patch to support AppStream 0.10.0 in F25 (LP#1626398) + +* Thu Sep 29 2016 Fabio Valentini - 0.1.1-3 +- Mass rebuild. + +* Wed Sep 28 2016 Fabio Valentini - 0.1.1-2 +- Spec file cleanups. + +* Tue Sep 27 2016 Fabio Valentini - 0.1.1-1 +- Update to version 0.1.1. + +* Sat Sep 17 2016 Fabio Valentini - 0.1-2 +- Require PackageKit. + +* Thu Aug 18 2016 Fabio Valentini - 0.1-1 +- Update to version 0.1. + + diff --git a/sources b/sources index e69de29..9786f4e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (appcenter-0.1.3.tar.xz) = 6cd25edde334151635d9eab211e8ddac35e8c206dcf0c41298e3e14b1f65f5874dff39c310e8c5b1fcff67f65569b67a2e81d1245ffbf3500d687fb249a7f161