[mate-bluetooth] initial import
Dan Mashal
vicodan at fedoraproject.org
Tue Mar 19 19:54:08 UTC 2013
commit 2bbcacc231cfd9be0798fad1e432c7c5c0f34f1a
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date: Tue Mar 19 12:53:58 2013 -0700
initial import
mate-bluetooth.spec | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 135 insertions(+), 0 deletions(-)
---
diff --git a/mate-bluetooth.spec b/mate-bluetooth.spec
new file mode 100644
index 0000000..aa79c71
--- /dev/null
+++ b/mate-bluetooth.spec
@@ -0,0 +1,135 @@
+Name: mate-bluetooth
+Version: 1.5.0
+Release: 2%{?dist}
+Summary: MATE Desktop bluetooth applet
+License: GPLv2+
+URL: http://www.mate-desktop.org
+Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+
+BuildRequires: mate-common
+BuildRequires: mate-doc-utils
+BuildRequires: mate-panel-devel
+BuildRequires: mate-file-manager-sendto-devel
+BuildRequires: rarian-compat
+BuildRequires: gtk2-devel
+BuildRequires: gobject-introspection-devel
+BuildRequires: unique-devel
+BuildRequires: dbus-glib-devel
+BuildRequires: libmatenotify-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gsettings-desktop-schemas-devel
+
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+Requires: mate-panel
+Requires: mate-file-manager-sendto
+
+%description
+MATE Desktop bluetooth applet
+
+
+%package libs
+Summary: Shared libraries for mate-bluetooth
+License: LGPLv2+
+Requires: %{name} = %{version}-%{release}
+
+%description libs
+development files for mate-bluetooth
+
+
+%package devel
+Summary: Development file for mate-bluetooth
+License: LGPLv2+
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+development files for mate-bluetooth
+
+%prep
+%setup -q
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure --disable-static \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --disable-icon-update \
+ --disable-desktop-update \
+ --enable-caja-sendto
+
+make %{?_smp_mflags} V=1
+
+%install
+make DESTDIR=%{buildroot} install
+find %{buildroot} -name '*.la' -exec rm -rf {} ';'
+find %{buildroot} -name '*.a' -exec rm -rf {} ';'
+%find_lang %{name} --all-name
+
+desktop-file-install \
+ --remove-category="MATE" \
+ --add-category="X-Mate" \
+ --delete-original \
+ --dir=%{buildroot}%{_datadir}/applications \
+%{buildroot}%{_datadir}/applications/mate-bluetooth-properties.desktop
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/mate &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+ /bin/touch --no-create %{_datadir}/icons/mate &> /dev/null || :
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &> /dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &> /dev/null || :
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+%files -f %{name}.lang
+%doc AUTHORS COPYING README
+%{_mandir}/man1/*
+%{_datadir}/icons/mate/*x*/status/*.png
+%{_datadir}/icons/mate/*x*/apps/bluetooth.png
+%{_datadir}/gtk-doc/html/mate-bluetooth
+%{_datadir}/icons/mate/scalable/*/*.svg
+%config %{_sysconfdir}/xdg/autostart/mate-bluetooth-applet.desktop
+%{_bindir}/mate-bluetooth-applet
+%{_bindir}/mate-bluetooth-properties
+%{_bindir}/mate-bluetooth-sendto
+%{_bindir}/mate-bluetooth-wizard
+%{_datadir}/MateConf/gsettings/mate-bluetooth-nst
+%{_datadir}/glib-2.0/schemas/org.mate.Bluetooth.nst.gschema.xml
+%{_datadir}/MateConf/gsettings/mate-bluetooth
+%{_datadir}/applications/mate-bluetooth-properties.desktop
+%{_datadir}/glib-2.0/schemas/org.mate.Bluetooth.gschema.xml
+%{_datadir}/mate/help/mate-bluetooth
+%{_datadir}/omf/mate-bluetooth
+%{_datadir}/mate-bluetooth
+
+%files libs
+%{_libdir}/libmate-bluetooth.so.8
+%{_libdir}/libmate-bluetooth.so.8.0.0
+%{_libdir}/girepository-1.0/MateBluetooth-1.0.typelib
+%{_libdir}/mate-bluetooth/plugins/libgbtgeoclue.so
+%{_libdir}/caja-sendto/plugins/libnstbluetooth.so
+
+%files devel
+%{_includedir}/mate-bluetooth
+%{_libdir}/pkgconfig/mate-bluetooth-1.0.pc
+%{_libdir}/libmate-bluetooth.so
+%{_datadir}/gir-1.0/MateBluetooth-1.0.gir
+
+%changelog
+* Mon Mar 18 2013 <dan.mashal at fedoraproject.org> 1.5.0-2
+- Update specfile according to review
+- Split libs package off into separate package
+- Update icon scriptlets
+
+* Sat Dec 01 2012 Dan Mashal <dan.mashal at fedoraproject.org> - 1.5.0-1
+- Initial build
More information about the scm-commits
mailing list