SPECS: scribes.spec - up to 0.3 - both patches irrelevant - dbus c...

patrys patrys at pld-linux.org
Mon Dec 4 18:09:29 CET 2006


Author: patrys                       Date: Mon Dec  4 17:09:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.3
- both patches irrelevant
- dbus code is broken and causes lag when starting

---- Files affected:
SPECS:
   scribes.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/scribes.spec
diff -u SPECS/scribes.spec:1.7 SPECS/scribes.spec:1.8
--- SPECS/scribes.spec:1.7	Sat May 27 11:30:13 2006
+++ SPECS/scribes.spec	Mon Dec  4 18:09:24 2006
@@ -2,14 +2,12 @@
 Summary:	Simple, slim and sleek text editor
 Summary(pl):	Prosty, niewielki i elegancki edytor tekstu
 Name:		scribes
-Version:	0.2.4.3
-Release:	2
+Version:	0.3
+Release:	1
 License:	GPL
 Group:		Applications/Editors
-Source0:	http://openusability.org/download.php/86/%{name}-%{version}.tar.gz
-# Source0-md5:	e14aa68c45f7bb46f1786b82bd14a283
-Patch0:		%{name}-setup.patch
-Patch1:		%{name}-desktop.patch
+Source0:	http://prdownloads.sourceforge.net/scribes/%{name}-%{version}.tar.bz2
+# Source0-md5:	2abe30a606fcb6aa310c7322df8e5ab7
 URL:		http://scribes.sourceforge.net/
 BuildRequires:	GConf2-devel
 BuildRequires:	gtk+2-devel >= 2:2.8.0
@@ -33,23 +31,30 @@
 Scribes jest jest prostym i łatwym w użyciu edytorem tekstu dla GNOME.
 
 %prep
-%setup -q -n %{name}-0.2.4
-%patch0 -p1
-%patch1 -p1
+%setup -q
 
 %build
-python setup.py build
+%{__intltoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%{configure}
+%{__make} \
+	CC="%{__cc}" \
+	PREFIX=%{_prefix} \
+	LIBDIR=/%{_lib}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
 
-python setup.py install \
-        --optimize=2 \
-        --root $RPM_BUILD_ROOT
+%{__make} install \
+	PREFIX=%{_prefix} \
+	LIBDIR=/%{_lib} \
+	DESTDIR=$RPM_BUILD_ROOT
 
 rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/Scribes/*.py
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/SCRIBES/*.py
 
 install data/scribes.schemas $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
 
@@ -72,13 +77,14 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc ARTISTS AUTHORS CHANGELOG README TODO TRANSLATORS
+%doc AUTHORS README TODO TRANSLATORS
 %attr(755,root,root) %{_bindir}/scribes
-%dir %{py_sitescriptdir}/Scribes
-%{py_sitescriptdir}/Scribes/*.py[co]
+%attr(755,root,root) %{_bindir}/.scribesclient
+%dir %{py_sitescriptdir}/SCRIBES
+%{py_sitescriptdir}/SCRIBES/*.py[co]
 %{_datadir}/%{name}
 %{_desktopdir}/*.desktop
-%{_pixmapsdir}/*.png
+%{_iconsdir}/hicolor/*/*/*.png
 %{_omf_dest_dir}/%{name}
 %{_sysconfdir}/gconf/schemas/scribes.schemas
 
@@ -88,6 +94,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/12/04 17:09:24  patrys
+- up to 0.3
+- both patches irrelevant
+- dbus code is broken and causes lag when starting
+
 Revision 1.7  2006/05/27 09:30:13  qboosh
 - fixed prep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/scribes.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list