packages: xlockmore/xlockmore.spec - ldflags.patch - seperate packages for ...

draenog draenog at pld-linux.org
Wed Dec 2 12:39:42 CET 2009


Author: draenog                      Date: Wed Dec  2 11:39:42 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ldflags.patch
- seperate packages for xglock and xmlock

---- Files affected:
packages/xlockmore:
   xlockmore.spec (1.65 -> 1.66) 

---- Diffs:

================================================================
Index: packages/xlockmore/xlockmore.spec
diff -u packages/xlockmore/xlockmore.spec:1.65 packages/xlockmore/xlockmore.spec:1.66
--- packages/xlockmore/xlockmore.spec:1.65	Tue Dec  1 20:03:24 2009
+++ packages/xlockmore/xlockmore.spec	Wed Dec  2 12:39:37 2009
@@ -27,6 +27,7 @@
 Patch1:		%{name}-vtlock.patch
 Patch2:		%{name}-makefile.patch
 Patch3:		%{name}-ftgl.patch
+Patch4:		%{name}-ldflags.patch
 URL:		http://www.tux.org/~bagleyd/xlockmore.html
 %{?with_opengl:BuildRequires:	OpenGL-devel}
 BuildRequires:	autoconf
@@ -105,19 +106,35 @@
 kilitleyebilir, böylece istenmeyen misafirlerin sistemi
 kurcalamalarını önleyebilirsiniz.
 
+%package motif
+Summary:	Motif based frontend for xlockmore
+Group:		X11/Amusements
+Requires:	%{name} = %{version}-%{release}
+
+%description motif
+Motif based frontend for xlockmore.
+
+%package gtk
+Summary:	GTK based frontend for xlockmore
+Group:		X11/Amusements
+Requires:	%{name} = %{version}-%{release}
+
+%description gtk
+GTK based frontend for xlockmore.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
 %{__libtoolize}
 %{__autoconf}
 %configure \
-	--without-motif \
 	--without-gtk \
 	--without-nas \
 	--disable-setuid \
@@ -157,19 +174,33 @@
 %defattr(644,root,root,755)
 %doc README docs/TODO docs/Revisions
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/xlock
-%attr(755,root,root) %{_bindir}/x*lock
-%{_datadir}/xlock
+%attr(755,root,root) %{_bindir}/xlock
 %{_desktopdir}/xlockmore.desktop
 %{_mandir}/man1/xlock.1*
 %{_appdefsdir}/XLock
 %{?with_sound:%{_soundsdir}/%{name}}
 
+%files motif
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xmlock
+%{_appdefsdir}/XmLock
+
+%files gtk
+%defattr(644,root,root,755)
+%attr(755,root,root)%{_bindir}/xglock
+%{_datadir}/xlock
+
+
 %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.66  2009/12/02 11:39:37  draenog
+- ldflags.patch
+- seperate packages for xglock and xmlock
+
 Revision 1.65  2009/12/01 19:03:24  sparky
 - BR: gtk+2-devel, pkgconfig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xlockmore/xlockmore.spec?r1=1.65&r2=1.66&f=u



More information about the pld-cvs-commit mailing list