]> git.pld-linux.org Git - packages/ModemManager.git/blame - ModemManager.spec
- double-fix .la cleanup
[packages/ModemManager.git] / ModemManager.spec
CommitLineData
16e59ac6 1Summary: Mobile broadband modem management service
30689186 2Summary(pl.UTF-8): Usługa zarządzająca szerokopasmowymi modemami komórkowymi
16e59ac6 3Name: ModemManager
9ede919e 4Version: 0.5.2.0
d3ddb6f9 5Release: 4
30689186 6License: GPL v2+
16e59ac6 7Group: Networking
9ede919e
MB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/ModemManager/0.5/%{name}-%{version}.tar.xz
9# Source0-md5: a4da11ad17f937156c30b08a29cee13f
16e59ac6 10URL: http://www.gnome.org/projects/NetworkManager/
30689186 11BuildRequires: autoconf >= 2.60
16e59ac6 12BuildRequires: automake >= 1:1.9
55351b05
MB
13BuildRequires: dbus-glib-devel >= 0.86
14BuildRequires: gettext-devel
30689186
JB
15BuildRequires: glib2-devel >= 1:2.18
16BuildRequires: intltool >= 0.35.0
17BuildRequires: libtool >= 2:2.2
16e59ac6 18BuildRequires: pkgconfig
30689186 19BuildRequires: polkit-devel >= 0.95
db905a16 20BuildRequires: ppp-plugin-devel >= 3:2.4.5
9ede919e 21BuildRequires: tar >= 1:1.22
16e59ac6 22BuildRequires: udev-glib-devel
9ede919e 23BuildRequires: xz
30689186
JB
24Requires: dbus-glib >= 0.86
25Requires: glib2 >= 1:2.18
9ede919e 26Requires: hicolor-icon-theme
30689186 27Requires: polkit >= 0.95
16e59ac6
MB
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31The ModemManager service provides a consistent API to operate many
32different modems, including mobile broadband (3G) devices.
33
30689186
JB
34%description -l pl.UTF-8
35Usługa ModemManager zapewnia spójne API do obsługi wielu różnych
36modemów, w tym szerokopasmowych modemów komórkowych (3G).
37
38%package devel
39Summary: Header file defining ModemManager D-Bus interface
40Summary(pl.UTF-8): Plik nagłówkowy opisujący interfejs D-Bus ModemManagera
41Group: Development/Libraries
42# doesn't require base
43
44%description devel
45Header file defining ModemManager D-Bus interface.
46
47%description devel -l pl.UTF-8
48Plik nagłówkowy opisujący interfejs D-Bus ModemManagera.
49
16e59ac6
MB
50%prep
51%setup -q
52
53%build
54%{__libtoolize}
55351b05 55%{__aclocal} -I m4
16e59ac6
MB
56%{__autoconf}
57%{__autoheader}
58%{__automake}
bac17c7e 59%configure \
30689186
JB
60 --disable-silent-rules \
61 --disable-static \
62 --enable-more-warnings \
304ba825 63 --with-polkit \
db905a16 64 --with-pppd-plugin-dir=%{_libdir}/pppd/plugins
16e59ac6
MB
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
72
30689186 73%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
d3ddb6f9 74%{__rm} $RPM_BUILD_ROOT%{_libdir}/pppd/plugins/*.la
16e59ac6
MB
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
9ede919e
MB
79%post
80%update_icon_cache hicolor
81
82%postun
83%update_icon_cache hicolor
84
16e59ac6
MB
85%files
86%defattr(644,root,root,755)
87%doc AUTHORS ChangeLog NEWS README
88%attr(755,root,root) %{_sbindir}/modem-manager
89%dir %{_libdir}/ModemManager
4749311e
ER
90%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-anydata.so
91%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-generic.so
92%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-gobi.so
93%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-hso.so
94%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-huawei.so
b632cd74 95%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-linktop.so
4749311e
ER
96%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-longcheer.so
97%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-mbm.so
98%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-moto-c.so
99%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-nokia.so
100%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-novatel.so
101%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-option.so
b632cd74 102%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-samsung.so
4749311e
ER
103%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-sierra.so
104%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-simtech.so
b632cd74
JP
105%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-wavecom.so
106%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-x22x.so
4749311e 107%attr(755,root,root) %{_libdir}/%{name}/libmm-plugin-zte.so
db905a16 108%attr(755,root,root) %{_libdir}/pppd/plugins/mm-test-pppd-plugin.so
16e59ac6
MB
109/lib/udev/rules.d/77-mm-ericsson-mbm.rules
110/lib/udev/rules.d/77-mm-longcheer-port-types.rules
9ede919e 111/lib/udev/rules.d/77-mm-nokia-port-types.rules
55351b05
MB
112/lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
113/lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
114/lib/udev/rules.d/77-mm-simtech-port-types.rules
115/lib/udev/rules.d/77-mm-usb-device-blacklist.rules
b632cd74 116/lib/udev/rules.d/77-mm-x22x-port-types.rules
16e59ac6 117/lib/udev/rules.d/77-mm-zte-port-types.rules
b632cd74 118/lib/udev/rules.d/80-mm-candidate.rules
16e59ac6 119%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf
b632cd74
JP
120%{_datadir}/dbus-1/interfaces/mm-mobile-error.xml
121%{_datadir}/dbus-1/interfaces/mm-modem-connect-error.xml
122%{_datadir}/dbus-1/interfaces/mm-modem-error.xml
123%{_datadir}/dbus-1/interfaces/mm-serial-error.xml
b632cd74
JP
124%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Cdma.xml
125%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Card.xml
126%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Contacts.xml
127%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Hso.xml
128%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Network.xml
129%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.SMS.xml
130%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.Ussd.xml
131%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Gsm.xml
132%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Location.xml
133%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.Simple.xml
134%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.Modem.xml
135%{_datadir}/dbus-1/interfaces/org.freedesktop.ModemManager.xml
16e59ac6 136%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
55351b05
MB
137%{_datadir}/polkit-1/actions/org.freedesktop.modem-manager.policy
138%{_iconsdir}/hicolor/*/apps/*.png
30689186
JB
139
140%files devel
141%defattr(644,root,root,755)
142%{_includedir}/mm
This page took 0.053817 seconds and 4 git commands to generate.