]> git.pld-linux.org Git - SPECS.git/blob - libmatekeyring.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / libmatekeyring.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # do not build and package API docs
4
5 Summary:        Framework for managing passwords and other secrets
6 Summary(pl.UTF-8):      Szkielet do zarządzania hasłami i innymi tajnymi danymi
7 Name:           libmatekeyring
8 Version:        1.6.1
9 Release:        1
10 License:        GPL v2+ and LGPL v2+
11 Group:          Libraries
12 Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
13 # Source0-md5:  2c20a62778f4bf8240011fe03c97a05e
14 URL:            http://wiki.mate-desktop.org/libmatekeyring
15 BuildRequires:  autoconf >= 2.53
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  dbus-devel >= 1.0
18 BuildRequires:  gettext-tools >= 0.10.40
19 BuildRequires:  glib2-devel >= 1:2.16.0
20 BuildRequires:  gtk-doc >= 1.9
21 BuildRequires:  intltool >= 0.35.0
22 BuildRequires:  libgcrypt-devel >= 1.2.2
23 BuildRequires:  libtool >= 1:1.4.3
24 BuildRequires:  mate-common
25 BuildRequires:  pkgconfig >= 1:0.14.0
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires:       dbus-libs >= 1.0
29 Requires:       glib2 >= 1:2.16.0
30 Requires:       libgcrypt >= 1.2.2
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 mate-keyring is a program that keep password and other secrets for
35 users. The library libmate-keyring is used by applications to
36 integrate with the MATE keyring system. libmatekeyring is a fork of
37 libgnomekeyring.
38
39 %description -l pl.UTF-8
40 mate-keyring to program przechowujący hasła oraz inne tajne dane
41 użytkowników. Biblioteka libmate-keyring jest używana przez aplikacje
42 do integracji z systemem kluczy MATE. libmatekeyring to odgałęzienie
43 libgnomekeyring.
44
45 %package devel
46 Summary:        Development files for libmate-keyring
47 Summary(pl.UTF-8):      Pliki programistyczne biblioteki libmate-keyring
48 License:        LGPL v2+
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       glib2-devel >= 1:2.16.0
52
53 %description devel
54 The libmatekeyring-devel package contains the header files needed to
55 develop applications that use libmate-keyring.
56
57 %description devel -l pl.UTF-8
58 Ten pakiet zawiera pliki nagłówkowe niezbędne przy tworzeniu aplikacji
59 wykorzystujących bibliotekę libmate-keyring.
60
61 %package apidocs
62 Summary:        libmate-keyring library API documentation
63 Summary(pl.UTF-8):      Dokumentacja API biblioteki libmate-keyring
64 Group:          Documentation
65 Requires:       gtk-doc-common
66
67 %description apidocs
68 libmate-keyring library API documentation.
69
70 %description apidocs -l pl.UTF-8
71 Dokumentacja API biblioteki libmate-keyring.
72
73 %prep
74 %setup -q
75
76 %build
77 %{__intltoolize}
78 %{__gtkdocize}
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         --disable-silent-rules \
86         --disable-gtk-doc \
87         --with-html-dir=%{_gtkdocdir}
88
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmate-keyring.la
97
98 %find_lang %{name}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog NEWS README
109 %attr(755,root,root) %{_libdir}/libmate-keyring.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libmate-keyring.so.1
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libmate-keyring.so
115 %{_includedir}/mate-keyring-1
116 %{_pkgconfigdir}/mate-keyring-1.pc
117
118 %files apidocs
119 %defattr(644,root,root,755)
120 %{_gtkdocdir}/mate-keyring
This page took 0.338402 seconds and 3 git commands to generate.