SPECS: gksu.spec - up to 2.0 - new natulius plugin subpackage - BR...

czarny czarny at pld-linux.org
Fri Mar 16 12:54:17 CET 2007


Author: czarny                       Date: Fri Mar 16 11:54:17 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.0
- new natulius plugin subpackage
- BR's added based on clean chroot

---- Files affected:
SPECS:
   gksu.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/gksu.spec
diff -u SPECS/gksu.spec:1.23 SPECS/gksu.spec:1.24
--- SPECS/gksu.spec:1.23	Tue Feb 13 08:16:45 2007
+++ SPECS/gksu.spec	Fri Mar 16 12:54:12 2007
@@ -1,22 +1,26 @@
 # $Revision$, $Date$
+# Conditional builds:
+%bcond_without	nautilus	# build without nautilus extensions
+#
 Summary:	GKsu is a GTK+ frontend to the su program
 Summary(pl.UTF-8):	GKsu to nakładka graficzna na program su
 Name:		gksu
-Version:	1.2.2
-Release:	1
+Version:	2.0.0
+Release:	0.1
 License:	GPL
-Vendor:		Gustavo Noronha Silva <kov at debian.org>
 Group:		Applications/System
-Source0:	http://people.debian.org/~kov/gksu/gksu/%{name}-%{version}.tar.gz
-# Source0-md5:	564504badbd41fbe554a8133d07b5e94
+Source0:	http://people.debian.org/~kov/gksu/%{name}-%{version}.tar.gz
+# Source0-md5:	f517302cff6f09e4f2f312c4b618bd40
 URL:		http://www.nongnu.org/gksu/
+BuildRequires:	GConf2-devel
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
-BuildRequires:	libgksu-devel >= 1.2.3
-BuildRequires:	libgksuui-devel >= 1.0
 BuildRequires:	gtk+2-devel >= 2:2.2
 BuildRequires:	gtk-doc >= 1.0
+BuildRequires:	libgksu-devel >= 2.0
 BuildRequires:	libtool
+%{?with_nautilus:BuildRequires:	nautilus-devel}
+BuildRequires:	pkgconfig
 Requires:	/bin/su
 Obsoletes:	gksu-devel
 Obsoletes:	gksu-static
@@ -28,6 +32,43 @@
 %description -l pl.UTF-8
 GKsu to graficzna nakładka na program su.
 
+%package nautilus
+Summary:	Gksu plugin for nautilus
+Summary(pl.UTF-8):	Wtyczka gksu dla nautilusa
+Group:		X11/Applications
+Requires:	%{name} = version}-%{release}
+Requires:	nautilus
+
+%description nautilus
+Gksu plugin for nautilus.
+
+%description nautilus -l pl.UTF-8
+Wtyczka gksu dla nautilusa.
+
+%package nautilus-devel
+Summary:	Libtool library for nautilus extension library
+Summary(pl.UTF-8):	Biblioteka libtoola dla wtyczki gksu dla nautilusa
+Group:		Development/Libraries
+Requires:	%{name}-nautilus = %{version}-%{release}
+
+%description nautilus-devel
+Libtool library for nautilus extension library.
+
+%description nautilus-devel -l pl.UTF-8
+Biblioteka libtoola dla wtyczki gksu dla nautilusa.
+
+%package nautilus-static
+Summary:	Static library for nautilus extension library
+Summary(pl.UTF-8):	Statyczna biblioteka dla wtyczki gksu dla nautilusa
+Group:		Development/Libraries
+Requires:	%{name}-nautilus-devel = %{version}-%{release}
+
+%description nautilus-static
+Static library for nautilus extension library.
+
+%description nautilus-static -l pl.UTF-8
+Statyczna biblioteka dla wtyczki gksu dla nautilusa.
+
 %prep
 %setup -q
 
@@ -38,6 +79,7 @@
 %{__automake}
 %configure \
 	--enable-gtk-doc \
+	%{!?with_nautilus: --disable-nautilus-extension} \
 	--with-html-dir=%{_gtkdocdir}
 
 %{__make}
@@ -48,18 +90,34 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name}
+#%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+#%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/*.desktop
 %{_mandir}/man1/*
 %{_pixmapsdir}/*
+%dir %{_datadir}/gksu
+%attr(755,root,root) %{_datadir}/gksu/gksu-migrate-conf.sh
+
+%files nautilus
+%defattr(644,root,root,755)
+%attr (755,root,root) %{_libdir}/nautilus/extensions-1.0/libnautilus-gksu.so
+
+%files nautilus-devel
+%defattr(644,root,root,755)
+%{_libdir}/nautilus/extensions-1.0/libnautilus-gksu.la
+
+
+%files nautilus-static
+%defattr(644,root,root,755)
+%{_libdir}/nautilus/extensions-1.0/libnautilus-gksu.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +125,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2007/03/16 11:54:12  czarny
+- up to 2.0
+- new natulius plugin subpackage
+- BR's added based on clean chroot
+
 Revision 1.23  2007/02/13 07:16:45  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gksu.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list