- initial 0.3
authorpiotrek <piotrek@pld-linux.org>
Sun, 17 Dec 2006 15:47:38 +0000 (15:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calconsole-DESTDIR.patch -> 1.1
    calconsole.spec -> 1.1

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

diff --git a/calconsole-DESTDIR.patch b/calconsole-DESTDIR.patch
new file mode 100644 (file)
index 0000000..49dce08
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN calconsole-0.3.orig/src/Makefile.in calconsole-0.3/src/Makefile.in
+--- calconsole-0.3.orig/src/Makefile.in        2006-05-17 18:33:14.000000000 +0200
++++ calconsole-0.3/src/Makefile.in     2006-12-17 12:19:29.467390256 +0100
+@@ -365,7 +365,7 @@
+       $(LN_S) calconsole ncalconsole
+ install:
+-      $(LN_S) $(bindir)/calconsole $(bindir)/ncalconsole
++      $(LN_S) $(bindir)/calconsole $(DESTDIR)$(bindir)/ncalconsole
+ uninstall:
+       rm -f $(bindir)/calconsole $(bindir)/ncalconsole
diff --git a/calconsole.spec b/calconsole.spec
new file mode 100644 (file)
index 0000000..d39eacd
--- /dev/null
@@ -0,0 +1,47 @@
+#
+Summary:       Calconsole is a calendar and schedule in mode command line
+Summary(pl):   Calconsole jest kalendarzem i harmonogramem zadañ z linii poleceñ
+Name:          calconsole
+Version:       0.3
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       http://calconsole.losinvisibles.net/%{name}-%{version}.tar.gz
+# Source0-md5: abc17425cbeae6def877928ed1c50ad9
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://calconsole.losinvisibles.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Calconsole is a calendar and schedule in mode command line. Like a cal
+with schedule. Calconsole works with files ics.
+
+%description -l pl
+Calconsole jest kalendarzem i harmonogramem zadañ z linii poleceñ.
+Podobnie jak komenda cal, ale z harmonogramem zadañ. Calconsole
+pracuje z plikami ics.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make} \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README AUTHORS NEWS ChangeLog README
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/zoneinfo/*
This page took 0.106259 seconds and 4 git commands to generate.