SPECS (djurban-snapshots): oKular.spec (NEW) - for my internal use ; )
djurban
djurban at pld-linux.org
Tue Jul 5 16:46:33 CEST 2005
Author: djurban Date: Tue Jul 5 14:46:33 2005 GMT
Module: SPECS Tag: djurban-snapshots
---- Log message:
- for my internal use ;)
---- Files affected:
SPECS:
oKular.spec (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/oKular.spec
diff -u /dev/null SPECS/oKular.spec:1.1.2.1
--- /dev/null Tue Jul 5 16:46:33 2005
+++ SPECS/oKular.spec Tue Jul 5 16:46:28 2005
@@ -0,0 +1,123 @@
+# $Revision$, $Date$
+Summary: okular
+Name: oKular
+Version: 050705
+Release: 1
+License: GPL
+Group: Applications
+Source0: ziew.tar.bz2
+Patch0: kde-common-PLD.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: kdelibs-devel >= 9:3.2.0
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRequires: unsermake >= 050704
+Obsoletes: kdegraphics-kpdf
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+blah
+
+%prep
+%setup -q -n %{name} -T -D
+%patch0 -p1
+
+%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Graphics;Viewer;PDFViewer;/' \
+ kpdf/shell/kpdf.desktop
+
+cp -f /usr/share/automake/config.sub admin
+export PATH="/usr/share/unsermake:$PATH"
+%{__make} -f admin/Makefile.common cvs
+
+%build
+export PATH="/usr/share/unsermake:$PATH"
+%if 0
+%configure \
+%if "%{_lib}" == "lib64"
+ --enable-libsuffix=64 \
+%endif
+ --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+ --with-qt-libraries=%{_libdir}
+%endif
+
+unsermake all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+
+export PATH="/usr/share/unsermake:$PATH"
+unsermake install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir} \
+ kde_libs_htmldir=%{_kdedocdir} \
+ kdelnkdir=%{_desktopdir} \
+
+#find_lang %{name} --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+#f %{name}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kpdf
+%{_libdir}/kde3/libkpdfpart.la
+%attr(755,root,root) %{_libdir}/kde3/libkpdfpart.so
+%{_datadir}/apps/kpdf
+%{_datadir}/apps/kpdfpart
+%{_datadir}/config.kcfg/kpdf.kcfg
+%{_datadir}/services/kpdf_part.desktop
+%{_desktopdir}/kde/kpdf.desktop
+%{_iconsdir}/*/*/*/kpdf.*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1.2.1 2005/07/05 14:46:28 djurban
+- for my internal use ;)
+
+Revision 1.13 2005/01/16 16:09:48 glen
+- %find_lang sample
+- more complete %files
+- set %{_desktopdir} in %install
+
+Revision 1.12 2004/11/02 21:08:44 qboosh
+- formatting
+
+Revision 1.11 2004/11/01 16:05:04 djurban
+- DL
+
+Revision 1.10 2004/09/02 20:32:01 qboosh
+- _kdedocdir requires macros 1.129
+
+Revision 1.9 2004/08/11 14:13:39 djurban
+- bump minimal unsermake req
+
+Revision 1.8 2004/07/12 19:00:47 djurban
+- use admin/Makefile.common (this way it works when no Makefile.cvs
+- add a second %setup (commented) for snaps
+
+Revision 1.7 2004/06/19 14:47:39 qboosh
+- sorted BRs
+
+Revision 1.6 2004/06/10 20:04:38 ankry
+- spaces -> tab
+
+Revision 1.5 2004/06/10 14:26:00 djurban
+- be kosher
+
+Revision 1.4 2004/06/04 14:22:31 djurban
+- fix amd64 build
+
+Revision 1.3 2004/05/15 13:20:37 qboosh
+- cleanups, removed R: kdelibs (autogenerated if package uses kdelibs)
+
+Revision 1.2 2004/05/14 20:03:22 ankry
+- spaces -> tabs
+
+Revision 1.1 2004/05/14 19:13:27 djurban
+- template for apps using kde buildsystem
================================================================
More information about the pld-cvs-commit
mailing list