[521] | 1 | %global svn_rev 115768 |
---|
| 2 | %define mono_dir %{_prefix}/lib/mono |
---|
| 3 | %define monodoc_dir %{_prefix}/lib/monodoc |
---|
| 4 | |
---|
| 5 | Name: gnome-keyring-sharp |
---|
| 6 | Version: 1.0.1 |
---|
[2014] | 7 | Release: 5.%{svn_rev}svn%{?_dist_release} |
---|
[521] | 8 | Summary: Mono implementation of GNOME Keyring |
---|
| 9 | Summary(ja): GNOME Keyring の Mono による実装 |
---|
| 10 | Group: System Environment/Libraries |
---|
| 11 | License: MIT |
---|
| 12 | URL: http://www.mono-project.com/Libraries#Gnome-KeyRing-Sharp |
---|
| 13 | # Tarfile created from svn snapshot |
---|
| 14 | # svn co -r %{svn-rev} \ |
---|
| 15 | # svn://anonsvn.mono-project.com/source/trunk/gnome-keyring-sharp \ |
---|
| 16 | # gnome-keyring-sharp-%{version} |
---|
| 17 | # tar cjf gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2 --exclude=.svn \ |
---|
| 18 | # gnome-keyring-sharp-%{version} |
---|
| 19 | Source0: gnome-keyring-sharp-%{version}-r%{svn_rev}.tar.bz2 |
---|
| 20 | Patch0: gnome-keyring-sharp-libdir.patch |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 22 | |
---|
| 23 | BuildRequires: autoconf automake |
---|
| 24 | BuildRequires: mono-devel ndesk-dbus monodoc |
---|
| 25 | |
---|
| 26 | Packager: kazutaka |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | gnome-keyring-sharp is a fully managed implementation of libgnome-keyring. |
---|
| 30 | |
---|
| 31 | When the gnome-keyring-daemon is running, you can use this to retrive/store |
---|
| 32 | confidential information such as passwords, notes or network services user |
---|
| 33 | information. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package devel |
---|
| 37 | Summary: Development files for %{name} |
---|
| 38 | Summary(ja): %{name} の開発用ファイル |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | Requires: pkgconfig |
---|
| 42 | |
---|
| 43 | %description devel |
---|
| 44 | The %{name}-devel package contains libraries and header files for |
---|
| 45 | developing applications that use %{name}. |
---|
| 46 | |
---|
| 47 | %package doc |
---|
| 48 | Summary: Documentation for %{name} |
---|
| 49 | Summary(ja): %{name} のドキュメント |
---|
| 50 | Group: Documentation |
---|
| 51 | Requires: %{name} = %{version}-%{release} |
---|
| 52 | Requires: monodoc |
---|
| 53 | |
---|
| 54 | %description doc |
---|
| 55 | The %{name}-doc package contains documentation for %{name}. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | %patch0 -p1 -b .libdir |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %build |
---|
| 64 | aclocal |
---|
| 65 | automake -a |
---|
| 66 | autoreconf |
---|
| 67 | ##%configure --disable-static |
---|
| 68 | %configure --disable-static --libdir=%{_prefix}/lib |
---|
| 69 | make |
---|
| 70 | # sharing violation when doing parallel build |
---|
| 71 | #%{?_smp_mflags} |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | ##make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 77 | make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig |
---|
| 78 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %files |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %doc AUTHORS ChangeLog COPYING README |
---|
| 88 | ##%{_libdir}/mono/gnome-keyring-sharp-1.0 |
---|
| 89 | ##%{_libdir}/mono/gac/Gnome.Keyring |
---|
| 90 | %{mono_dir}/gnome-keyring-sharp-1.0 |
---|
| 91 | %{mono_dir}/gac/Gnome.Keyring |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | #doc |
---|
| 96 | %{_libdir}/pkgconfig/%{name}-1.0.pc |
---|
| 97 | |
---|
| 98 | %files doc |
---|
| 99 | %defattr(-,root,root,-) |
---|
| 100 | ##%{_libdir}/monodoc/sources/Gnome.Keyring.* |
---|
| 101 | %{monodoc_dir}/sources/Gnome.Keyring.* |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | %changelog |
---|
[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 |
---|