Revisions of gsm-ussd

unknown committed (revision 3)
project was undeleted
Axel Köllhofer's avatar Axel Köllhofer (Akoellh) committed (revision 2)
Axel Köllhofer's avatar Axel Köllhofer (Akoellh) committed (revision 1)
- spec adapted for OBS, dropped libexec.patch

A    gsm-ussd-libexec.patch
A    gsm-ussd-pod2man.patch
A    gsm-ussd.changes
A    gsm-ussd.spec
A    gsm-ussd_0.4.0-25.tar.gz

Diff for working copy: .
Index: gsm-ussd.changes
===================================================================
--- gsm-ussd.changes	(revision 0)
+++ gsm-ussd.changes	(revision 0)
@@ -0,0 +1,85 @@
+-------------------------------------------------------------------
+Wed Nov 11 21:27:36 UTC 2015 - AxelKoellhofer@web.de - 0.4.0.25
+
+- spec adapted for OBS, dropped libexec.patch
+
+-------------------------------------------------------------------
+Wed Jun 17 00:00:00 UTC 2015 - rel-eng@lists.fedoraproject.org
+
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+
+-------------------------------------------------------------------
+Wed Jun  3 00:00:00 UTC 2015 - jplesnik@redhat.com
+
+- Perl 5.22 rebuild
+
+
+-------------------------------------------------------------------
+Tue Aug 26 00:00:00 UTC 2014 - jplesnik@redhat.com
+
+- Perl 5.20 rebuild
+
+
+-------------------------------------------------------------------
+Sat Jun  7 00:00:00 UTC 2014 - rel-eng@lists.fedoraproject.org
+
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+
+-------------------------------------------------------------------
+Sat Aug  3 00:00:00 UTC 2013 - rel-eng@lists.fedoraproject.org
+
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+
+-------------------------------------------------------------------
+Thu Jul 18 00:00:00 UTC 2013 - ppisar@redhat.com
+
+- Perl 5.18 rebuild
+
+
+-------------------------------------------------------------------
+Fri Feb 22 00:00:00 UTC 2013 - drizt@land.ru
+
+- pod2man now in perl-podlators (#914057)
+- added patch to fix incorrect syntaxis
+
+
+-------------------------------------------------------------------
+Thu Feb 14 00:00:00 UTC 2013 - rel-eng@lists.fedoraproject.org
+
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+
+-------------------------------------------------------------------
+Mon Oct  8 00:00:00 UTC 2012 - drizt@land.ru
+
+- use %%global instead of %%define
+- use %%name in patch
+
+
+-------------------------------------------------------------------
+Sun Oct  7 00:00:00 UTC 2012 - drizt@land.ru
+
+- dropped xussd
+- unset executable flag for perl modules
+- fixed License tag
+- fixed Requires tag
+- filter modules from Provides
+
+
+-------------------------------------------------------------------
+Sat Sep 22 00:00:00 UTC 2012 - drizt@land.ru
+
+- renamed lib-exec.patch -> gsm-ussd-libexec.patch
+- dropped %%defattr
+- corrected license
+- use %%gloabal instead of %%define
+
+
+-------------------------------------------------------------------
+Sun Sep 16 00:00:00 UTC 2012 - drizt@land.ru
+
+- Initial version of package based on spec.tmpl from source tarball
+

Index: gsm-ussd-pod2man.patch
===================================================================
--- gsm-ussd-pod2man.patch	(revision 0)
+++ gsm-ussd-pod2man.patch	(revision 0)
@@ -0,0 +1,13 @@
+diff --git a/docs/gsm-ussd.en.pod b/docs/gsm-ussd.en.pod
+index 0e5d846..0a98c87 100644
+--- a/docs/gsm-ussd.en.pod
++++ b/docs/gsm-ussd.en.pod
+@@ -141,7 +141,7 @@ Displays your own phone number.
+ 
+ Show prepaid account balance.
+ 
+-=item B<*102#>
++=item * B<*102#>
+ 
+ Displays costs of your last connection.
+ 

Index: gsm-ussd_0.4.0-25.tar.gz
===================================================================
Binary file 'gsm-ussd_0.4.0-25.tar.gz' added.

Index: gsm-ussd-libexec.patch
===================================================================
--- gsm-ussd-libexec.patch	(revision 0)
+++ gsm-ussd-libexec.patch	(revision 0)
@@ -0,0 +1,24 @@
+diff --git a/Makefile b/Makefile
+index 2d21eac..a2ac1c0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -9,7 +9,7 @@ PREFIX		= /usr/local
+ INSTALL_PATH	= $(PREFIX)
+ BIN_PATH	= $(INSTALL_PATH)/bin
+ MAN_PATH	= $(INSTALL_PATH)/share/man
+-LIB_PATH	= $(INSTALL_PATH)/lib/gsm-ussd
++LIB_PATH	= $(INSTALL_PATH)/libexec/gsm-ussd
+ 
+ # The documentation in POD and *roff format
+ PODS		= docs/gsm-ussd.en.pod docs/gsm-ussd.de.pod docs/xussd.en.pod docs/xussd.de.pod
+@@ -27,8 +27,8 @@ install:	all
+ 	install lib/GSMUSSD/* $(LIB_PATH)/lib/GSMUSSD
+ 	install bin/gsm-ussd.pl $(LIB_PATH)/bin
+ 	install bin/xussd.sh $(LIB_PATH)/bin
+-	cd $(BIN_PATH) && ln -sf ../lib/gsm-ussd/bin/gsm-ussd.pl gsm-ussd
+-	cd $(BIN_PATH) && ln -sf ../lib/gsm-ussd/bin/xussd.sh xussd
++	cd $(BIN_PATH) && ln -sf ../libexec/gsm-ussd/bin/gsm-ussd.pl gsm-ussd
++	cd $(BIN_PATH) && ln -sf ../libexec/gsm-ussd/bin/xussd.sh xussd
+ 
+ doc:	$(MANS)
+ 

Index: gsm-ussd.spec
===================================================================
--- gsm-ussd.spec	(revision 0)
+++ gsm-ussd.spec	(revision 0)
@@ -0,0 +1,66 @@
+#
+# spec file for package ussd-gui
+#
+
+# norootforbuild     
+
+%global __provides_exclude_from %{_libexecdir}
+%global __requires_exclude .*GSMUSSD.*
+
+%define setup_version 0.4.0
+%define rev 25
+
+Name:           gsm-ussd
+Group:          Applications/Communications
+Version:        %{setup_version}.%{rev}
+Release:        0
+Source0:        http://linux.zum-quadrat.de/downloads/%{name}_%{setup_version}-%{rev}.tar.gz
+Source100:      %{name}.changes
+BuildArch:      noarch 
+Summary:        USSD query tool
+License:        GPL-2.0+ or LGPL-2.0+
+Url:            http://iloapp.zum-quadrat.de/blog/linux?Home&category=2
+Requires:       perl(Expect)
+%{perl_requires}
+
+# Fix incorrect syntaxis
+Patch0:         %{name}-pod2man.patch
+
+%description
+gsm-ussd is a script to send USSD (Unstructured Supplementary
+Services Data) queries to your broadband provider. USSD queries
+are "phone numbers" like "*100#", which will result in a message
+(NOT a SMS) with your current prepaid account balance.
+
+You can use this program to query your own phone number,
+replenish your prepaid account, query your free minutes left
+and so on, depending on your GSM provider.
+
+%prep
+%setup -qn %{name}_%{setup_version}-%{rev}
+%patch0 -p1
+
+%build
+
+%install
+make PREFIX=$RPM_BUILD_ROOT/usr install install-doc
+# Unset executable bit
+chmod 644 $RPM_BUILD_ROOT%{_mandir}/man1/* $RPM_BUILD_ROOT%{_mandir}/de/man1/*
+chmod 644 $RPM_BUILD_ROOT%{_libexecdir}/%{name}/lib/GSMUSSD/*
+
+# gsm-ussd has gui but it depends from KDE and Gnome.
+# So I've droped it to prevent many dependencies.
+rm $RPM_BUILD_ROOT%{_bindir}/xussd
+rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/bin/xussd.sh
+rm $RPM_BUILD_ROOT%{_mandir}/man1/xussd*
+rm $RPM_BUILD_ROOT%{_mandir}/de/man1/xussd*
+
+%files
+%defattr(-,root,root)
+%doc README LICENSE TODO docs/README.* docs/story.txt docs/ussd-sessions.txt
+%doc %{_mandir}/man1/*
+%doc %{_mandir}/de/man1/*
+%{_libexecdir}/%{name}/
+%{_bindir}/%{name}
+
+%changelog
Displaying all 3 revisions
openSUSE Build Service is sponsored by