Initial import
This commit is contained in:
parent
c72cfc7ce3
commit
dc94a4484b
@ -0,0 +1 @@
|
|||||||
|
ModemManager-0.2-20090707.tar.bz2
|
71
ModemManager.spec
Normal file
71
ModemManager.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
%define snapshot 20090707
|
||||||
|
|
||||||
|
Summary: Mobile broadband modem management service
|
||||||
|
Name: ModemManager
|
||||||
|
Version: 0.2
|
||||||
|
Release: 1.%{snapshot}%{?dist}
|
||||||
|
#
|
||||||
|
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
||||||
|
# tarball built with:
|
||||||
|
# ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
|
# make distcheck
|
||||||
|
#
|
||||||
|
Source: %{name}-%{version}-%{snapshot}.tar.bz2
|
||||||
|
License: GPLv2+
|
||||||
|
Group: System Environment/Base
|
||||||
|
|
||||||
|
URL: http://www.gnome.org/projects/NetworkManager/
|
||||||
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: dbus-glib-devel >= 0.75
|
||||||
|
BuildRequires: libgudev-devel >= 143
|
||||||
|
|
||||||
|
%description
|
||||||
|
The ModemManager service provides a consistent API to operate many different
|
||||||
|
modems, including mobile broadband (3G) devices.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--enable-more-warnings=yes \
|
||||||
|
--with-udev-base-dir=/lib/udev \
|
||||||
|
--disable-static
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644, root, root, 0755)
|
||||||
|
%doc COPYING README
|
||||||
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager.conf
|
||||||
|
%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager.service
|
||||||
|
%attr(0755,root,root) %{_sbindir}/modem-manager
|
||||||
|
%dir %{_libdir}/%{name}
|
||||||
|
%attr(0755,root,root) %{_libdir}/%{name}/*.so*
|
||||||
|
/lib/udev/rules.d/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-1.20090707
|
||||||
|
- Fix source repo location
|
||||||
|
- Fix directory ownership
|
||||||
|
|
||||||
|
* Tue Jul 7 2009 Dan Williams <dcbw@redhat.com> - 0.2-0.20090707
|
||||||
|
- Initial version
|
||||||
|
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
ModemManager-0_2-1_20090707_fc12:HEAD:ModemManager-0.2-1.20090707.fc12.src.rpm:1247361797
|
Loading…
Reference in New Issue
Block a user