📄 gsmlib.spec
字号:
%define LIBVER 1.0.3Summary: Library to access GSM mobile phones through GSM modemsName: gsmlibVersion: 1.9Release: 1Source: gsmlib-%{version}.tar.gzGroup: System Environment/LibrariesCopyright: GNU LIBRARY GENERAL PUBLIC LICENSEURL: http://www.pxh.de/fs/gsmlib/Vendor: Peter Hofmann <software@pxh.de>Buildroot: /var/tmp/gsmlib-root%package develSummary: Development tools for programs which will use the gsmlib library.Group: Development/LibrariesRequires: gsmlib%package extSummary: Extensions to gsmlib to support non-standard phone features.Group: Development/LibrariesRequires: gsmlib%descriptionThis distribution contains a library to accessGSM mobile phones through GSM modems. Features include: * modification of phonebooks stored in the mobile phone or on the SIM card * reading and writing of SMS messages stored in the mobile phone * sending and reception of SMS messagesAdditionally, some simple command line programs areprovided to use these functionalities.%description develThe gsmlib-devel package includes the header files and static librariesnecessary for developing programs which use the gsmlib library.%description extThe extension package of gsmlib contains programs, libraries, anddocumentation to support non-standard features of GSM phones. Thefollowing phones/phone types are currently supported: * Siemens GSM phones%prep%setup%buildCXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usrmake%installmake DESTDIR="$RPM_BUILD_ROOT" install%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)/usr/lib/libgsmme.so/usr/lib/libgsmme.so.%{LIBVER}/usr/bin/gsmsmsstore/usr/bin/gsmctl/usr/bin/gsmsmsd/usr/bin/gsmpb/usr/bin/gsmsendsms/usr/man/usr/share/locale/de/LC_MESSAGES/gsmlib.mo%doc README INSTALL ABOUT-NLS AUTHORS COPYING NEWS TODO%doc doc/README.NLS doc/README.developers doc/FAQ ChangeLog%files devel%defattr(-,root,root)/usr/lib/libgsmme.a/usr/include/gsmlib%files ext/usr/bin/gsmsiectl/usr/bin/gsmsiexfer/usr/lib/libgsmext.so/usr/lib/libgsmext.so.1.0.3%doc ext/README.sieme
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -