]> git.pld-linux.org Git - packages/ModemManager.git/blobdiff - ModemManager.spec
- pl
[packages/ModemManager.git] / ModemManager.spec
index 6e33a62d77b78a8601db6135968db4b058e4cb51..827af9be6fc049d4e9c16ec2f39b59862d637f79 100644 (file)
@@ -1,29 +1,50 @@
 %define                ppp_version     2.4.5
 Summary:       Mobile broadband modem management service
+Summary(pl.UTF-8):     Usługa zarządzająca szerokopasmowymi modemami komórkowymi
 Name:          ModemManager
-Version:       0.4
-Release:       2
-License:       GPL v2
+Version:       0.5
+Release:       1
+License:       GPL v2+
 Group:         Networking
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.4/%{name}-%{version}.tar.bz2
-# Source0-md5: d4681f08e76cbb766522256144267ced
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.bz2
+# Source0-md5: cd04109506e88bf4c4cd3e7ce0034c08
 URL:           http://www.gnome.org/projects/NetworkManager/
-BuildRequires: autoconf >= 2.52
+BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.9
 BuildRequires: dbus-glib-devel >= 0.86
 BuildRequires: gettext-devel
-BuildRequires: glib2-devel >= 1:2.18.0
-BuildRequires: intltool
-BuildRequires: libtool
+BuildRequires: glib2-devel >= 1:2.18
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig
+BuildRequires: polkit-devel >= 0.95
 BuildRequires: ppp-plugin-devel >= 3:%{ppp_version}
 BuildRequires: udev-glib-devel
+Requires:      dbus-glib >= 0.86
+Requires:      glib2 >= 1:2.18
+Requires:      polkit >= 0.95
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The ModemManager service provides a consistent API to operate many
 different modems, including mobile broadband (3G) devices.
 
+%description -l pl.UTF-8
+Usługa ModemManager zapewnia spójne API do obsługi wielu różnych
+modemów, w tym szerokopasmowych modemów komórkowych (3G).
+
+%package devel
+Summary:       Header file defining ModemManager D-Bus interface
+Summary(pl.UTF-8):     Plik nagłówkowy opisujący interfejs D-Bus ModemManagera
+Group:         Development/Libraries
+# doesn't require base
+
+%description devel
+Header file defining ModemManager D-Bus interface.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy opisujący interfejs D-Bus ModemManagera.
+
 %prep
 %setup -q
 
@@ -34,9 +55,11 @@ different modems, including mobile broadband (3G) devices.
 %{__autoheader}
 %{__automake}
 %configure \
-       --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version} \
+       --disable-silent-rules \
+       --disable-static \
+       --enable-more-warnings \
        --with-polkit \
-       --enable-more-warnings=yes
+       --with-pppd-plugin-dir=%{_libdir}/pppd/%{ppp_version}
 %{__make}
 
 %install
@@ -45,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
-rm -f $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/*.*.*/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,14 +84,18 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so
+%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so
+%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so
+%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so
+%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so
 %attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so
 %attr(755,root,root) %{_libdir}/pppd/%{ppp_version}/mm-test-pppd-plugin.so
 /lib/udev/rules.d/77-mm-ericsson-mbm.rules
@@ -77,8 +104,31 @@ rm -rf $RPM_BUILD_ROOT
 /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
 /lib/udev/rules.d/77-mm-simtech-port-types.rules
 /lib/udev/rules.d/77-mm-usb-device-blacklist.rules
+/lib/udev/rules.d/77-mm-x22x-port-types.rules
 /lib/udev/rules.d/77-mm-zte-port-types.rules
+/lib/udev/rules.d/80-mm-candidate.rules
 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf
+%{_datadir}/dbus-1/interfaces/mm-mobile-error.xml
+%{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml
+%{_datadir}/dbus-1/interfaces/mm-modem-error.xml
+%{_datadir}/dbus-1/interfaces/mm-serial-error.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.DBus.Properties.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
 %{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy
 %{_iconsdir}/hicolor/*/apps/*.png
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/mm
This page took 0.068563 seconds and 4 git commands to generate.