[521] | 1 | %define mono_dir %{_prefix}/lib/mono |
---|
| 2 | %define monodoc_dir %{_prefix}/lib/monodoc |
---|
| 3 | |
---|
| 4 | Name: gnome-keyring-sharp |
---|
[9477] | 5 | Version: 1.0.2 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | Summary: Mono implementation of GNOME Keyring |
---|
| 8 | Summary(ja): GNOME Keyring の Mono による実装 |
---|
[9477] | 9 | |
---|
[521] | 10 | Group: System Environment/Libraries |
---|
| 11 | License: MIT |
---|
| 12 | URL: http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp |
---|
[9477] | 13 | |
---|
| 14 | Source0: https://github.com/mono/gnome-keyring-sharp/archive/%{name}-%{version}.tar.gz |
---|
[521] | 15 | Patch0: gnome-keyring-sharp-libdir.patch |
---|
| 16 | |
---|
[9477] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[521] | 18 | BuildRequires: autoconf automake |
---|
[9477] | 19 | BuildRequires: mono-devel monodoc |
---|
| 20 | BuildRequires: gtk-sharp2-devel |
---|
| 21 | BuildRequires: libgnome-keyring-devel |
---|
[521] | 22 | |
---|
| 23 | Packager: kazutaka |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | gnome-keyring-sharp is a fully managed implementation of libgnome-keyring. |
---|
| 27 | |
---|
| 28 | When the gnome-keyring-daemon is running, you can use this to retrive/store |
---|
| 29 | confidential information such as passwords, notes or network services user |
---|
| 30 | information. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development files for %{name} |
---|
[9477] | 35 | Summary(ja): %{name} の開発用ファイル |
---|
[521] | 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | The %{name}-devel package contains libraries and header files for |
---|
| 42 | developing applications that use %{name}. |
---|
| 43 | |
---|
| 44 | %package doc |
---|
| 45 | Summary: Documentation for %{name} |
---|
[9477] | 46 | Summary(ja): %{name} のドキュメント |
---|
[521] | 47 | Group: Documentation |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | Requires: monodoc |
---|
| 50 | |
---|
| 51 | %description doc |
---|
| 52 | The %{name}-doc package contains documentation for %{name}. |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %prep |
---|
[9477] | 56 | %setup -q -n %{name}-%{name}-%{version} |
---|
[521] | 57 | %patch0 -p1 -b .libdir |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %build |
---|
[9477] | 61 | ./autogen.sh |
---|
[521] | 62 | %configure --disable-static --libdir=%{_prefix}/lib |
---|
| 63 | make |
---|
| 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig |
---|
| 68 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 69 | |
---|
[9477] | 70 | %ifarch x86_64 |
---|
| 71 | mkdir -p $RPM_BUILD_ROOT%{_libdir} |
---|
| 72 | mv $RPM_BUILD_ROOT%{_prefix}/lib/libgnome-keyring-sharp-glue.so \ |
---|
| 73 | $RPM_BUILD_ROOT%{_libdir}/ |
---|
| 74 | %endif |
---|
[521] | 75 | |
---|
| 76 | %clean |
---|
| 77 | rm -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | %files |
---|
| 81 | %defattr(-,root,root,-) |
---|
| 82 | %doc AUTHORS ChangeLog COPYING README |
---|
[9477] | 83 | %{_libdir}/libgnome-keyring-sharp-glue.so |
---|
[521] | 84 | %{mono_dir}/gnome-keyring-sharp-1.0 |
---|
| 85 | %{mono_dir}/gac/Gnome.Keyring |
---|
| 86 | |
---|
| 87 | %files devel |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
| 90 | |
---|
| 91 | %files doc |
---|
| 92 | %defattr(-,root,root,-) |
---|
| 93 | %{monodoc_dir}/sources/Gnome.Keyring.* |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | %changelog |
---|
[9477] | 97 | * Tue Mar 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1 |
---|
| 98 | - updated to 1.0.2 |
---|
| 99 | - added BR: gtk-sharp2-devel |
---|
| 100 | - built with mono 3.12.1 |
---|
| 101 | |
---|
[8068] | 102 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-6.115768svn |
---|
| 103 | - rebuild with VineSeed environment |
---|
| 104 | |
---|
[2014] | 105 | * Fri Oct 08 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.1-5.115768svn |
---|
| 106 | - rebuilt with mono-2.8 |
---|
| 107 | |
---|
[1984] | 108 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.1-4.115768svn |
---|
| 109 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 110 | |
---|
[521] | 111 | * Fri Jul 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-3.115768svn |
---|
| 112 | - rebuild with latest rpm to update mono-dependencies |
---|
| 113 | |
---|
| 114 | * Sat Jun 13 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.1-2.115768svn |
---|
| 115 | - added mono_dir, monodoc_dir macros |
---|
| 116 | - added --libdir=%%{_prefix}/lib option to %%configure |
---|
| 117 | - added pkgconfigdir=%%{_libdir}/pkgconfig option to make install |
---|
| 118 | |
---|
| 119 | * Thu Jun 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.1-1.115768svn |
---|
| 120 | - initial build for Vine Linux based on fedora development |
---|
| 121 | |
---|
| 122 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-0.2.115768svn |
---|
| 123 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 124 | |
---|
| 125 | * Thu Jan 29 2009 Michel Salim <salimma@fedoraproject.org> - 1.0.1-0.1.115768svn%{?dist} |
---|
| 126 | - Update to r115768 |
---|
| 127 | |
---|
| 128 | * Mon Jul 14 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.0-0.2.87622svn%{?dist} |
---|
| 129 | - Disable creation of -debuginfo subpackage |
---|
| 130 | |
---|
| 131 | * Sun Jul 6 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.0.0-0.1.87622svn%{?dist} |
---|
| 132 | - Initial package |
---|