]> git.pld-linux.org Git - packages/aldo.git/commitdiff
- Initial release; Morse code tutor
authoradasi <adasi@pld-linux.org>
Mon, 4 Aug 2003 10:58:26 +0000 (10:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aldo-DESTDIR.patch -> 1.1
    aldo.spec -> 1.1

aldo-DESTDIR.patch [new file with mode: 0644]
aldo.spec [new file with mode: 0644]

diff --git a/aldo-DESTDIR.patch b/aldo-DESTDIR.patch
new file mode 100644 (file)
index 0000000..67e18f9
--- /dev/null
@@ -0,0 +1,38 @@
+diff -urN aldo.0.0.12/Makefile aldo/Makefile
+--- aldo.0.0.12/Makefile       Wed Jul 23 00:54:21 2003
++++ aldo/Makefile      Mon Aug  4 12:55:36 2003
+@@ -59,10 +59,7 @@
+ clean_aldo:
+       @$(RM) aldo $(OBJECTS)
+-install: libs aldo uninstall
+-      @install -m555 -oroot aldo /usr/bin/
++install: libs aldo 
++      @install -m555 aldo $(DESTDIR)/usr/bin/
+       @$(MAKE) -C po install
+-uninstall:
+-      @$(RM) /usr/bin/aldo
+-      @$(MAKE) -C po uninstall
+\ No newline at end of file
+diff -urN aldo.0.0.12/po/Makefile aldo/po/Makefile
+--- aldo.0.0.12/po/Makefile    Sun Jun  8 16:32:31 2003
++++ aldo/po/Makefile   Mon Aug  4 12:55:43 2003
+@@ -16,13 +16,8 @@
+ install: $(CATALOGS)
+       @for n in $(CATALOGS); do \
+           l=`basename $$n .mo`; \
+-          $(INSTALL) -m755 -d $(INSTALLNLSDIR)/$$l; \
+-          $(INSTALL) -m755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
+-          $(INSTALL) -m644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
++          $(INSTALL) -m755 -d $(DESTDIR)$(INSTALLNLSDIR)/$$l; \
++          $(INSTALL) -m755 -d $(DESTDIR)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
++          $(INSTALL) -m644 $$n $(DESTDIR)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
+       done
+-uninstall:
+-      @for n in $(CATALOGS); do \
+-          l=`basename $$n .mo`; \
+-          $(RM) $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
+-      done
+\ No newline at end of file
diff --git a/aldo.spec b/aldo.spec
new file mode 100644 (file)
index 0000000..1d4944c
--- /dev/null
+++ b/aldo.spec
@@ -0,0 +1,42 @@
+Summary:       Morse code tutor
+Summary(pl):   Program do nauki alfabetu Morse'a
+Name:          aldo
+Version:       0.0.12
+Release:       1
+License:       GPL
+Group:         Applications
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+#Source0-MD5:  e0c793915e131f34ea7a7a94a173350e
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://aldo.sourceforge.net
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ALDO is a morse tutor with 6 skill levels and 4 speeds.
+Select the proper skill/speed to begin practicing cw.
+
+%description -l pl
+ALDO to program do nauki alfabetu Morse'a. Posiada 6 
+poziomów trudno¶ci i 4 prêdko¶ci. Wybierz odpowiedni poziom i
+prêdko¶æ by zacz±æ æwiczyæ telegrafiê
+%prep
+%setup -q -n %{name}.%{version}
+%patch0 -p1
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/bin
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/locale/*/LC_MESSAGES/aldo.mo
This page took 0.101862 seconds and 4 git commands to generate.