diff --git a/ojuba-personal-lock.spec b/ojuba-personal-lock.spec index b205be7..2951b79 100644 --- a/ojuba-personal-lock.spec +++ b/ojuba-personal-lock.spec @@ -1,14 +1,13 @@ %global owner ojuba-org -%global commit #Write commit number here Name: ojuba-personal-lock Summary: Folder Encrpytion GUI -Version: 0.2.4 -Release: 2%{?dist} +Summary(ar): خزنة أعجوبة الشخصية +Version: 0.3 +Release: 1%{?dist} License: WAQFv2 -Group: System Environment/Base -URL: https://github.com/ojuba-org/ojuba-personal-lock -Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz +URL: http://ojuba.org +Source0: https://github.com/%{owner}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Requires: fuse-encfs Requires: python Requires: pygobject3 >= 3.0.2 @@ -17,11 +16,14 @@ BuildRequires: gettext BuildRequires: intltool BuildArch: noarch +%description -l ar +واجهة رسومية للمشفر فيوز + %description PyGTK+ front-end for fuse-encfs %prep -%setup -q -n %{name}-%{commit} +%autosetup -n %{name}-%{version} %build make %{?_smp_mflags} @@ -29,6 +31,49 @@ make %{?_smp_mflags} %install %makeinstall DESTDIR=$RPM_BUILD_ROOT + + +# Register as an application to be visible in the software center +# +# NOTE: It would be *awesome* if this file was maintained by the upstream +# project, translated and installed into the right place during `make install`. +# +# See http://www.freedesktop.org/software/appstream/docs/ for more details. +# +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < + + + + %{name}.desktop + CC0-1.0 + Folder Encrpytion GUI + خزنة أعجوبة الشخصية + +

+ Folder Encrpytion GUI. +

+
+ +

+ خزنة أعجوبة الشخصية. +

+
+ https://github.com/ojuba-org/%{name} + + http://ojuba.org/screenshots/%{name}.png + + moceap@hotmail.com +
+EOF + + + + %post touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ] ; then @@ -38,19 +83,26 @@ fi %postun touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ] ; then -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +%{_bindir}/g/u %{_datadir}/icons/hicolor || : fi %files -%doc README waqf2-ar.pdf +%license waqf2-ar.pdf +%doc waqf2-ar.pdf %{_bindir}/%{name} %{python2_sitelib}/*.egg-info %{_datadir}/applications/*.desktop %{_datadir}/locale/*/*/*.mo %{_datadir}/%{name}/*.svg %{_datadir}/icons/hicolor/*/apps/*.svg +%{_datadir}/appdata/%{name}.appdata.xml %changelog +* Sun Feb 19 2017 Mosaab Alzoubi - 0.3-1 +- Update to 0.3 +- New way to Github +- Add Appdata + * Sat Feb 15 2014 Mosaab Alzoubi - 0.2.4-2 - Full Rivision.