packages: qdigidoc/qdigidoc.spec (NEW) - new, based on fc spec

glen glen at pld-linux.org
Wed Jan 5 22:10:09 CET 2011


Author: glen                         Date: Wed Jan  5 21:10:09 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec

---- Files affected:
packages/qdigidoc:
   qdigidoc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/qdigidoc/qdigidoc.spec
diff -u /dev/null packages/qdigidoc/qdigidoc.spec:1.1
--- /dev/null	Wed Jan  5 22:10:09 2011
+++ packages/qdigidoc/qdigidoc.spec	Wed Jan  5 22:10:04 2011
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+Summary:	Estonian digital signature application
+Name:		qdigidoc
+Version:	0.4.0
+Release:	1
+License:	LGPL v2+
+Group:		X11/Applications
+URL:		http://code.google.com/p/esteid/
+Source0:	http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	bf6fc905f5c806c1309d5e2861fe840e
+BuildRequires:	QtWebKit-devel
+BuildRequires:	cmake
+BuildRequires:	desktop-file-utils
+BuildRequires:	gettext
+BuildRequires:	libdigidoc-devel
+BuildRequires:	libdigidocpp-devel
+BuildRequires:	openldap-devel
+BuildRequires:	openssl-devel
+BuildRequires:	qt4-build
+BuildRequires:	rpmbuild(macros) >= 1.596
+Requires:	desktop-file-utils
+Requires:	hicolor-icon-theme
+Requires:	shared-mime-info
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+QDigiDoc is an application for digitally signing and encrypting
+documents in BDoc, DDoc, and CDoc container formats. These file
+formats are widespread in Estonia where they are used for storing
+legally binding digital signatures.
+
+%package -n nautilus-%{name}
+Summary:	Nautilus extension for %{name}
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+Requires:	nautilus-python
+
+%description -n nautilus-%{name}
+This package contains the qdigidoc extension for the nautilus file
+manager.
+
+%package -n kde4-konqueror-plugin-%{name}
+Summary:	Konqueror extension for %{name}
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+
+%description -n kde4-konqueror-plugin-%{name}
+This package contains the qdigidoc extension for Konqueror.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang nautilus-qdigidoc
+
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/qdigidoc-client.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/qdigidoc-crypto.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+%update_mime_database
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+%update_mime_database
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/*.desktop
+%{_datadir}/mime/packages/*.xml
+%{_iconsdir}/hicolor/*/*/*.png
+
+%files -n nautilus-%{name} -f nautilus-qdigidoc.lang
+%defattr(644,root,root,755)
+%{_libdir}/nautilus/extensions-2.0/python/*
+
+%files -n kde4-konqueror-plugin-%{name}
+%{_datadir}/kde4/services/*.desktop
+
+%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  2011/01/05 21:10:04  glen
+- new, based on fc spec
================================================================


More information about the pld-cvs-commit mailing list