Accepting request 137750 from X11:MATE
new package, refactored OBS-URL: https://build.opensuse.org/request/show/137750 OBS-URL: https://build.opensuse.org/package/show/X11:MATE:Factory/libmateweather?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 10 13:09:17 UTC 2012 - nmo.marques@gmail.com
|
||||
|
||||
- Update to version 1.5.0
|
||||
+ no changelog available
|
||||
- Removed all dependencies of mateconf-2.0 and macros
|
||||
- Add glib2 macros for schemas
|
||||
- libmateweather-1.5.0-no_return_in_nonvoid_function.patch: fix no
|
||||
return in nonvoid function - merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 8 02:36:35 UTC 2012 - nmo.marques@gmail.com
|
||||
|
||||
- copypac to X11:MATE
|
||||
+ minor cosmetic fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 22:51:11 CST 2012 - hillwood@linuxfans.org
|
||||
|
||||
- update to 1.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 17 20:13:55 UTC 2012 - nmo.marques@gmail.com
|
||||
|
||||
- Update to 1.3.0
|
||||
- Migration to mateconf macros and minor cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 16 17:58:58 UTC 2012 - nmo.marques@gmail.com
|
||||
|
||||
- Update to 1.2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 3 12:55:33 UTC 2012 - fisiu@opensuse.org
|
||||
|
||||
- Build proper -lang package, cleanup with spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 30 21:16:59 UTC 2011 - nmarques@opensuse.org
|
||||
|
||||
- Initial package.
|
||||
|
||||
@@ -0,0 +1,149 @@
|
||||
#
|
||||
# spec file for libmate
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 Nelson Marques <nmo.marques@gmail.com>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
|
||||
|
||||
Name: libmateweather
|
||||
%define _name libmateweather1
|
||||
Version: 1.5.0
|
||||
Release: 1
|
||||
License: GPL-2.0
|
||||
Summary: MATE Weather
|
||||
Url: https://mate-desktop.org/
|
||||
Group: System/GUI/Other
|
||||
Source0: http://pub.mate-desktop.org/releases/%{_major}/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM libmateweather-1.5.0-no_return_in_nonvoid_function.patch nmo.marques@gmail.com - merged
|
||||
# https://github.com/mate-desktop/libmateweather/commit/4caec59b8b8ad937e5976f5f5338e1265a89aa6c
|
||||
Patch0: %{name}-1.5.0-no_return_in_nonvoid_function.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%glib2_gsettings_schema_requires
|
||||
|
||||
BuildRequires: mate-common
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk-doc)
|
||||
BuildRequires: pkgconfig(libsoup-2.4)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(pygobject-2.0)
|
||||
BuildRequires: pkgconfig(pygtk-2.0)
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: xz
|
||||
|
||||
%description
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations
|
||||
|
||||
%package -n mateweather-common
|
||||
Summary: MATE Weather common files
|
||||
Group: System/GUI/Other
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n mateweather-common
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations
|
||||
|
||||
%package devel
|
||||
Summary: MATE Weather development files
|
||||
Group: Development/Libraries/Other
|
||||
Requires: mateweather-common
|
||||
Requires: %{_name} = %{version}
|
||||
Requires: python-mateweather = %{version}
|
||||
|
||||
%description devel
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations
|
||||
|
||||
%package -n %{_name}
|
||||
Summary: MATE Weather shared libraries
|
||||
Group: System/GUI/Other
|
||||
|
||||
%description -n %{_name}
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations
|
||||
|
||||
%package -n python-mateweather
|
||||
Summary: Python bindings for MATE Weater
|
||||
Group: System/GUI/Other
|
||||
%py_requires
|
||||
|
||||
%description -n python-mateweather
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations
|
||||
|
||||
%package lang
|
||||
Summary: MATE Weather localization files
|
||||
Group: System/Localization
|
||||
Requires: %{_name} = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description lang
|
||||
libmateweather is a library to access weather information from online
|
||||
services for numerous locations.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%configure \
|
||||
--enable-locations-compression \
|
||||
--disable-static \
|
||||
--enable-python
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n mateweather-common
|
||||
%glib2_gsettings_schema_post
|
||||
|
||||
%post -n %{_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n mateweather-common
|
||||
%glib2_gsettings_schema_postun
|
||||
|
||||
%postun -n %{_name} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{_name}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files -n mateweather-common
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/glib-2.0/schemas/*.xml
|
||||
%{_datadir}/icons/mate/
|
||||
%{_datadir}/%{name}/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/mateweather.pc
|
||||
%{_datadir}/gtk-doc/html/%{name}/
|
||||
|
||||
%files -n python-mateweather
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/mateweather/
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,24 @@
|
||||
*.changes merge=merge-changes
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1,4 @@
|
||||
*.obscpio
|
||||
*.osc
|
||||
_build.*
|
||||
.pbuild
|
||||
@@ -0,0 +1,33 @@
|
||||
diff -urN a/libmateweather/mateweather-prefs.c b/libmateweather/mateweather-prefs.c
|
||||
--- a/libmateweather/mateweather-prefs.c 2012-10-10 13:23:43.000000000 +0100
|
||||
+++ b/libmateweather/mateweather-prefs.c 2012-10-10 15:08:09.699795455 +0100
|
||||
@@ -94,6 +94,7 @@
|
||||
/* translators: Fahrenheit */
|
||||
return N_("F");
|
||||
}
|
||||
+ return N_("Invalid");
|
||||
}
|
||||
|
||||
const char *
|
||||
@@ -118,6 +119,7 @@
|
||||
/* translators: wind speed */
|
||||
return N_("Beaufort scale");
|
||||
}
|
||||
+ return N_("Invalid");
|
||||
}
|
||||
|
||||
const char *
|
||||
@@ -145,6 +147,7 @@
|
||||
/* translators: atmosphere */
|
||||
return N_("atm");
|
||||
}
|
||||
+ return N_("Invalid");
|
||||
}
|
||||
|
||||
const char *
|
||||
@@ -163,4 +166,5 @@
|
||||
/* translators: miles */
|
||||
return N_("mi");
|
||||
}
|
||||
+ return N_("Invalid");
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:993470eeed40cd8c5b414d68affbe45c4e9c54d0e67c7b57ac6fa3b3cea970f0
|
||||
size 3479908
|
||||
Reference in New Issue
Block a user