diff --git a/.gitignore b/.gitignore index e69de29..9162731 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pantheon-files-0.3.0.5.tar.xz diff --git a/pantheon-files.spec b/pantheon-files.spec new file mode 100644 index 0000000..9924933 --- /dev/null +++ b/pantheon-files.spec @@ -0,0 +1,157 @@ +Name: pantheon-files +Summary: Pantheon file manager +Version: 0.3.0.5 +Release: 3%{?dist} +License: GPLv3 +URL: https://launchpad.net/pantheon-files + +Source0: https://launchpad.net/%{name}/0.3.x/%{version}/+download/%{name}-%{version}.tar.xz + +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: intltool +BuildRequires: libappstream-glib +BuildRequires: vala >= 0.34.0 + +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(gail-3.0) +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.29 +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(granite) >= 0.3.0 +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 +BuildRequires: pkgconfig(libcanberra) >= 0.30 +BuildRequires: pkgconfig(libnotify) >= 0.7.2 +BuildRequires: pkgconfig(pango) >= 1.1.2 +BuildRequires: pkgconfig(plank) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(unity) >= 4.0.0 +BuildRequires: pkgconfig(zeitgeist-2.0) + + +%description +The simple, powerful, and sexy file manager from elementary. +Designed for elementary OS. + + +%package devel +Summary: Pantheon file manager (development headers) +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +The simple, powerful, and sexy file manager from elementary. + +This package contains the development headers. + + +%prep +%autosetup + + +%build +mkdir build && pushd build +%cmake .. +%make_build +popd + + +%install +pushd build +%make_install +popd + +%find_lang pantheon-files + +# clean up a zero-length, unneeded file +rm %{buildroot}/%{_datadir}/pixmaps/pantheon-files/thumbnail_frame.png + + +%check +desktop-file-validate %{buildroot}/%{_datadir}/applications/org.pantheon.files.desktop +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/org.pantheon.files.appdata.xml + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files -f pantheon-files.lang +%doc AUTHORS HACKING README +%license COPYING + +%{_bindir}/pantheon-files +%{_bindir}/pantheon-files-daemon +%{_bindir}/pantheon-files-pkexec + +%{_libdir}/libpantheon-files-core.so.0 +%{_libdir}/libpantheon-files-core.so.0.1 +%{_libdir}/libpantheon-files-widgets.so.0 +%{_libdir}/libpantheon-files-widgets.so.0.1 +%{_libdir}/gtk-3.0/modules/libpantheon-filechooser-module.so +%{_libdir}/pantheon-files/ + +%{_datadir}/appdata/org.pantheon.files.appdata.xml +%{_datadir}/applications/org.pantheon.files.desktop +%{_datadir}/dbus-1/services/pantheon-files.service +%{_datadir}/glib-2.0/schemas/org.pantheon.files.gschema.xml +%{_datadir}/pantheon-files/ +%{_datadir}/pixmaps/pantheon-files/ +%{_datadir}/polkit-1/actions/net.launchpad.pantheon-files.policy + + +%files devel +%{_includedir}/pantheon-files-core/ +%{_includedir}/pantheon-files-widgets/ + +%{_libdir}/libpantheon-files-core.so +%{_libdir}/libpantheon-files-widgets.so + +%{_libdir}/pkgconfig/pantheon-files-core.pc +%{_libdir}/pkgconfig/pantheon-files-widgets.pc + +%{_datadir}/vala/vapi/pantheon-files-core-C.vapi +%{_datadir}/vala/vapi/pantheon-files-core.deps +%{_datadir}/vala/vapi/pantheon-files-core.vapi +%{_datadir}/vala/vapi/pantheon-files-widgets.deps +%{_datadir}/vala/vapi/pantheon-files-widgets.vapi + + +%changelog +* Thu Jan 05 2017 Fabio Valentini - 0.3.0.5-3 +- Clean up spec file. + +* Sat Dec 24 2016 Fabio Valentini - 0.3.0.5-2 +- Enable libunity support. +- Clean up spec. + +* Sat Dec 17 2016 Fabio Valentini - 0.3.0.5-1 +- Update to version 0.3.0.5. + +* Sat Nov 19 2016 Fabio Valentini - 0.3.0.4-1 +- Update to version 0.3.0.4. + +* Mon Oct 10 2016 Fabio Valentini - 0.3.0.3.1-1 +- Update to version 0.3.0.3.1. + +* Thu Sep 29 2016 Fabio Valentini - 0.3.0.2-4 +- Mass rebuild. + +* Wed Sep 28 2016 Fabio Valentini - 0.3.0.2-3 +- Spec file cleanups. + +* Mon Sep 19 2016 Fabio Valentini - 0.3.0.2-2 +- Spec file cosmetics. + +* Fri Sep 02 2016 Fabio Valentini - 0.3.0.2-1 +- Update to version 0.3.0.2. + +* Sat Aug 20 2016 Fabio Valentini - 0.3.0.1-1 +- Update to version 0.3.0.1. + +* Wed Aug 17 2016 Fabio Valentini - 0.3-1 +- Update to version 0.3. + + diff --git a/sources b/sources index e69de29..aba03ac 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (pantheon-files-0.3.0.5.tar.xz) = 5fdd956f42606dce09c6b2db26e63d9834ecbe72a59122bad340419528e5d42f028b7a3ecd37ef42bcd6eaa0ee43b40ffed7b110b8a7a2613d8c2cdfa9baab40