From b8da312c086a3a21b39cce671060b84e651fa7ad Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 7 Apr 2001 15:49:14 +0000 Subject: [PATCH] Updated for features RPM-4.0 (NOT backward compatible) "AutoReq: no" removed (need in the past for my own broken machine) Updated for my home page URL change --- mdsms.spec.in | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/mdsms.spec.in b/mdsms.spec.in index 245ae60..f2dad31 100644 --- a/mdsms.spec.in +++ b/mdsms.spec.in @@ -4,35 +4,28 @@ Name: @PACKAGE@ Version: @VERSION@ Release: %{release} Group: Applications/Communications -Source: http://atrey.karlin.mff.cuni.cz/~short/sw/@PACKAGE@-@VERSION@.tar.gz +Source: http://vellum.cz/~short/sw/@PACKAGE@-@VERSION@.tar.gz Copyright: LGPL2.1 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root Prefix: /usr -AutoReq: no %description Program sends one SmartMessaging SMS through one of the supported mobile device connected through the serial port. Currently supported devices: * Nokia Communicator 9000/9000i/9110 - * Siemens A1 (incl. MobilDock) + * Siemens A1/M1/M20 (incl. MobilDock) %prep %setup %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr +%configure make %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/usr/bin - -make DESTDIR="$RPM_BUILD_ROOT" install - -{ cd $RPM_BUILD_ROOT - strip ./usr/bin/@PACKAGE@ -} +%makeinstall +strip "$RPM_BUILD_ROOT/%{_bindir}/@PACKAGE@" %clean rm -rf $RPM_BUILD_ROOT @@ -40,6 +33,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README NEWS ChangeLog -/usr/bin/@PACKAGE@ -/usr/man/man1/@PACKAGE@.1 -/usr/share/locale/*/LC_MESSAGES/@PACKAGE@.mo +%{_bindir}/@PACKAGE@ +%doc %{_mandir}/man1/@PACKAGE@.1* +%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo -- 1.8.3.1