initial import
This commit is contained in:
parent
aa61dc4c7f
commit
46199e3467
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/gcr-3.3.3.1.tar.xz
|
134
gcr.spec
Normal file
134
gcr.spec
Normal file
@ -0,0 +1,134 @@
|
||||
Name: gcr
|
||||
Version: 3.3.3.1
|
||||
Release: 3%{?dist}
|
||||
Summary: A library for bits of crypto UI and parsing
|
||||
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://live.gnome.org/CryptoGlue/
|
||||
Source0: http://download.gnome.org/sources/gcr/3.3/gcr-%{version}.tar.xz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: intltool
|
||||
BuildRequires: glib2-devel
|
||||
#BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: p11-kit-devel
|
||||
BuildRequires: gnupg
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libtasn1-tools
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: chrpath
|
||||
|
||||
%description
|
||||
gcr is a library for displaying certificates, and crypto UI, accessing
|
||||
key stores. It also provides a viewer for crypto files on the GNOME
|
||||
desktop.
|
||||
|
||||
gck is a library for accessing PKCS#11 modules like smart cards.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for gcr
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The gcr-devel package includes the header files for the gcr library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
automake
|
||||
|
||||
%build
|
||||
%configure --disable-introspection
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.*
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop
|
||||
%find_lang %{name}
|
||||
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gcr-viewer
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
update-mime-database %{_datadir}/mime || :
|
||||
update-desktop-database -q || :
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
||||
fi
|
||||
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
update-mime-database %{_datadir}/mime || :
|
||||
update-desktop-database -q || :
|
||||
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc COPYING
|
||||
%{_bindir}/gcr-viewer
|
||||
%{_datadir}/applications/gcr-viewer.desktop
|
||||
%dir %{_datadir}/GConf
|
||||
%dir %{_datadir}/GConf/gsettings
|
||||
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
|
||||
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
|
||||
#%{_libdir}/girepository-1.0
|
||||
%{_libdir}/libgck-1.so.*
|
||||
%{_libdir}/libgcr-3.so.*
|
||||
%{_libdir}/libgcr-base-3.so.*
|
||||
%{_datadir}/gcr-3
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/mime/packages/gcr-crypto-types.xml
|
||||
%{_libexecdir}/gcr-prompter
|
||||
%{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
|
||||
%{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service
|
||||
|
||||
|
||||
%files devel
|
||||
%{_includedir}/gck-1
|
||||
%{_includedir}/gcr-3
|
||||
%{_libdir}/libgck-1.so
|
||||
%{_libdir}/libgcr-3.so
|
||||
%{_libdir}/libgcr-base-3.so
|
||||
%{_libdir}/pkgconfig/gck-1.pc
|
||||
%{_libdir}/pkgconfig/gcr-3.pc
|
||||
%{_libdir}/pkgconfig/gcr-base-3.pc
|
||||
#%{_datadir}/gir-1.0
|
||||
%dir %{_datadir}/gtk-doc
|
||||
%dir %{_datadir}/gtk-doc/html
|
||||
%{_datadir}/gtk-doc/html/gck
|
||||
%{_datadir}/gtk-doc/html/gcr-3
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-3
|
||||
- Own some directories
|
||||
|
||||
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-2
|
||||
- Delete rpaths
|
||||
|
||||
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.3.1-1
|
||||
- Update to 3.3.3.1
|
||||
|
||||
* Fri Dec 15 2011 Matthias Clasen <mclasen@redhat.com> 3.3.2.1-1
|
||||
- Update to 3.3.2.1
|
||||
|
||||
* Thu Nov 10 2011 Matthias Clasen <mclasen@redhat.com> 3.3.1-1
|
||||
- Initial packaging
|
||||
|
Loading…
Reference in New Issue
Block a user