SPECS: forcefield.spec (NEW) - init - taken from official 0.91 rel...

czarny czarny at pld-linux.org
Mon Sep 24 13:48:32 CEST 2007


Author: czarny                       Date: Mon Sep 24 11:48:32 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init
- taken from official 0.91 release and modified

---- Files affected:
SPECS:
   forcefield.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/forcefield.spec
diff -u /dev/null SPECS/forcefield.spec:1.1
--- /dev/null	Mon Sep 24 13:48:32 2007
+++ SPECS/forcefield.spec	Mon Sep 24 13:48:27 2007
@@ -0,0 +1,110 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - more meaningful translation
+# - check BR-s and R-s
+# - investigate if the cracklib patch realy make forcefield *not*
+#   require python-crypt
+# - correct update_icons
+#
+%define     _snap   20070924
+Summary:	A GNOME GUI for TrueCrypt
+Summary(pl.UTF-8):GNOME-owe GUI dla TrueCrypta
+Name:		forcefield
+Version:	0.92
+Release:	0.%{_snap}
+License:	GPL
+Group:		Applications/System
+# Download current version with: svn checkout
+# http://bockcay.de/svn/forcefield/trunk
+Source0:	%{name}-%{_snap}.tar.bz2
+# Source0-md5:	6e403a32487c24eeb0fea2ec30500276
+Source1:	%{name}.desktop
+URL:		http://www.bockcay.de/forcefield
+Patch0:		%{name}-install.patch
+Patch1:		%{name}-cracklib.patch
+BuildRequires:	automake >= 1.9
+BuildRequires:	python >= 2.5
+BuildRequires:	python-gnome-devel
+BuildRequires:	python-pygtk-devel
+Requires:	GConf2 >= 2.4.0
+Requires:	cracklib
+Requires:	python >= 2.5
+Requires:	python-cracklib
+Requires:	python-gnome
+Requires:	python-gnome-extras
+Requires:	python-gnome-gconf
+Requires:	python-pexpect
+Requires:	python-pygtk-glade
+Requires:	python-pygtk-gtk
+Requires:	python-pynotify
+Requires:	truecrypt
+BuildArch:	noarch
+Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A GNOME GUI for TrueCrypt.
+
+%description -l pl.UTF-8
+GNOME-owe GUI dla TrueCrypta.
+
+%prep
+%setup -q -n %{name}-%{_snap}
+%patch0 -p1
+%patch1 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__perl} -pi -e 's|python2.4|python2.5|g' src/lib/Makefile.in
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%gconf_schema_install %{name}.schemas
+%update_icon_cache
+%update_mime_database hicolor
+
+%postun
+%gconf_schema_uninstall
+%update_mime_database hicolor
+
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/%{name}
+%{_sysconfdir}/gconf/schemas/%{name}.schemas
+%dir %{py_sitedir}/%{name}
+%{py_sitedir}/%{name}/*.py[co]
+%{py_sitedir}/%{name}/*.so
+%{_datadir}/%{name}
+%{_iconsdir}/hicolor/24x24/apps/%{name}.png
+%{_desktopdir}/%{name}.desktop
+%{_datadir}/mime/packages/%{name}.xml
+
+%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  2007/09/24 11:48:27  czarny
+- init
+- taken from official 0.91 release and modified
+
================================================================


More information about the pld-cvs-commit mailing list