roundcubemail.spec
Paweł Muszyński
pmuch w zamek.szczecin.pl
Wto, 5 Sie 2008, 14:42:13 CEST
Arkadiusz Miskiewicz pisze:
>> +patch -p1 < rcpfa-1.0.3/diffs/settingstabs.html.diff
>
> Tu przy każdym musisz dać jeszcze || exit 1 by błąd w nakładaniu łatki wywalał
> cały build
>
Nie widziałem takiego patentu, ale to niegłupie (mało widziałem..)
No to mam nadzieję, że już wersja ostateczna:
Index: roundcubemail.spec
===================================================================
RCS file: /cvsroot/SPECS/roundcubemail.spec,v
retrieving revision 1.67
diff -u -r1.67 roundcubemail.spec
--- roundcubemail.spec 4 Aug 2008 14:07:45 -0000 1.67
+++ roundcubemail.spec 5 Aug 2008 12:41:00 -0000
@@ -15,7 +15,7 @@
Summary(pl.UTF-8): RoundCube Webmail - poczta przez WWW
Name: roundcubemail
Version: 0.2
-Release: 0.%{_rc}.2
+Release: 0.%{_rc}.3
License: GPL v2
Group: Applications/WWW
Source0:
http://dl.sourceforge.net/roundcubemail/%{name}-%{version}-%{_rc}.1.tar.gz
@@ -23,7 +23,7 @@
Source1: %{name}.config
Source2: %{name}.logrotate
Source3: %{name}-lighttpd.conf
-Source4: http://nejc.skoberne.net/rcpfa/rcpfa-1.0.2.tgz
+Source4: http://nejc.skoberne.net/rcpfa/rcpfa-1.0.3.tgz
Patch0: %{name}-config.patch
Patch1: %{name}-faq-page.patch
Patch2: %{name}-tz.patch
@@ -118,24 +118,24 @@
mv config/db.inc.php.dist config/db.inc.php
mv config/main.inc.php.dist config/main.inc.php
%if %{with postfixadmin}
-cp rcpfa-1.0.2/code/forwarding.html skins/default/templates
-cp rcpfa-1.0.2/code/password.html skins/default/templates
-cp rcpfa-1.0.2/code/vacation.html skins/default/templates
-cp rcpfa-1.0.2/code/pfa_forwarding.inc program/steps/settings
-cp rcpfa-1.0.2/code/pfa_password.inc program/steps/settings
-cp rcpfa-1.0.2/code/pfa_vacation.inc program/steps/settings
-cp rcpfa-1.0.2/code/pfa.php program/include
-
-patch -p1 < rcpfa-1.0.2/diffs/app.js.diff
-patch -p1 < rcpfa-1.0.2/diffs/db.inc.php.diff
-patch -p1 < rcpfa-1.0.2/diffs/func.inc.diff
-patch -p1 < rcpfa-1.0.2/diffs/index.php.diff
-patch -p1 < rcpfa-1.0.2/diffs/labels.inc.diff
-patch -p1 < rcpfa-1.0.2/diffs/main.inc.diff
-patch -p1 < rcpfa-1.0.2/diffs/main.inc.php.diff
-patch -p1 < rcpfa-1.0.2/diffs/messages.inc.diff
-patch -p1 < rcpfa-1.0.2/diffs/rcube_user.php.diff
-patch -p1 < rcpfa-1.0.2/diffs/settingstabs.html.diff
+cp rcpfa-1.0.3/code/forwarding.html skins/default/templates
+cp rcpfa-1.0.3/code/password.html skins/default/templates
+cp rcpfa-1.0.3/code/vacation.html skins/default/templates
+cp rcpfa-1.0.3/code/pfa_forwarding.inc program/steps/settings
+cp rcpfa-1.0.3/code/pfa_password.inc program/steps/settings
+cp rcpfa-1.0.3/code/pfa_vacation.inc program/steps/settings
+cp rcpfa-1.0.3/code/pfa.php program/include
+
+patch -p1 < rcpfa-1.0.3/diffs/app.js.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/db.inc.php.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/func.inc.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/index.php.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/labels.inc.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/main.inc.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/main.inc.php.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/messages.inc.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/rcube_user.php.diff || exit 1
+patch -p1 < rcpfa-1.0.3/diffs/settingstabs.html.diff || exit 1
%endif
%install
rm -rf $RPM_BUILD_ROOT
Więcej informacji o liście dyskusyjnej pld-devel-pl