[libmateweather] initial build
Dan Mashal
vicodan at fedoraproject.org
Mon Aug 27 01:56:04 UTC 2012
commit f7384ef012f8873081429c62e04ef0781012d318
Author: Dan Mashal <dan.mashal at gmail.com>
Date: Sun Aug 26 18:55:47 2012 -0700
initial build
.gitignore | 1 +
libmateweather.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 96 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5e6941b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libmateweather-1.4.0.tar.xz
diff --git a/libmateweather.spec b/libmateweather.spec
new file mode 100644
index 0000000..919a7f9
--- /dev/null
+++ b/libmateweather.spec
@@ -0,0 +1,94 @@
+Name: libmateweather
+Version: 1.4.0
+Release: 4%{?dist}
+Summary: Libraries to allow MATE Desktop to display weather information
+License: GPLv2+
+URL: http://mate-desktop.org
+Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
+
+BuildRequires: gtk2-devel libsoup-devel mate-common mate-conf-devel pygobject2-codegen python-gudev pygtk2-devel
+Requires(pre): mateconf
+Requires(post): mateconf
+Requires(preun): mateconf
+
+
+%description
+Libraries to allow MATE Desktop to display weather information
+
+
+%package devel
+Summary: Development files for libmateweather
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for libmateweather
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure --enable-python --disable-static --disable-schemas-install
+make %{?_smp_mflags} V=1
+
+
+%install
+export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+find %{buildroot} -name '*.la' -exec rm -rf {} ';'
+find %{buildroot} -name '*.a' -exec rm -rf {} ';'
+
+%pre
+/sbin/ldconfig
+%mateconf_schema_prepare mateweather
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/mate/status &>/dev/null || :
+%mateconf_schema_upgrade mateweather
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null
+ /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/mate/status/ &>/dev/null || :
+fi
+%mateconf_schema_remove mateweather
+
+%posttrans
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/mate/status/ &>/dev/null || :
+
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%config(noreplace) %{_sysconfdir}/mateconf/schemas/mateweather.schemas
+%{_datadir}/libmateweather/
+%{_datadir}/icons/mate/16x16/status/*.png
+%{_datadir}/icons/mate/22x22/status/*.png
+%{_datadir}/icons/mate/24x24/status/*.png
+%{_datadir}/icons/mate/32x32/status/*.png
+%{_datadir}/icons/mate/scalable/status/*.svg
+%{_datadir}/gtk-doc/html/libmateweather/
+%{python_sitearch}/mateweather/
+%{_libdir}/libmateweather.so.1
+%{_libdir}/libmateweather.so.1.6.9
+
+
+%files devel
+%{_libdir}/libmateweather.so
+%{_includedir}/libmateweather/
+%{_libdir}/pkgconfig/mateweather.pc
+
+%changelog
+* Sun Aug 25 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-4
+- Fix mateconf scriptlets for schemas, bump release version
+
+* Sat Aug 25 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-3
+- Move python files to main package, drop libs subpackage, update mateconf scriptlets, move shared library to devel package
+
+* Sat Aug 18 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-2
+- Fix directory ownership
+
+* Sun Aug 12 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..9b9c9e4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+db173a0a80349b0fe8dad5af167e569c libmateweather-1.4.0.tar.xz
More information about the scm-commits
mailing list