]> git.pld-linux.org Git - packages/libsecret.git/blame - libsecret.spec
- updated to 0.18.3
[packages/libsecret.git] / libsecret.spec
CommitLineData
0ee8916b
ŁK
1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4%bcond_without static_libs # don't build static library
5%bcond_without vala # do not build Vala API
d47464cd 6
0ee8916b 7Summary: Library for storing and retrieving passwords and other secrets
cb8187a5 8Summary(pl.UTF-8): Biblioteka do przechowywania i odczytu haseł oraz innych tajnych informacji
0ee8916b 9Name: libsecret
f338ae37 10Version: 0.18.3
fd784227 11Release: 1
cb8187a5 12License: LGPL v2.1+
0ee8916b 13Group: Libraries
81b9688b 14Source0: http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/%{name}-%{version}.tar.xz
f338ae37 15# Source0-md5: a21605644a64883ab685aec50d63253e
0ee8916b 16URL: https://live.gnome.org/Libsecret
81b9688b 17BuildRequires: glib2-devel >= 1:2.38.0
0ee8916b
ŁK
18BuildRequires: gobject-introspection-devel >= 1.29
19%{?with_apidocs:BuildRequires: gtk-doc >= 1.9}
cb8187a5 20BuildRequires: intltool >= 0.35.0
0ee8916b
ŁK
21BuildRequires: libgcrypt-devel >= 1.2.2
22BuildRequires: libxslt-progs
23BuildRequires: pkgconfig
24%{?with_vala:BuildRequires: vala >= 2:0.17.2.12}
81b9688b 25Requires: glib2 >= 1:2.38.0
cb8187a5 26Requires: libgcrypt >= 1.2.2
0ee8916b
ŁK
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30libsecret is a library for storing and retrieving passwords and other
31secrets. It communicates with the "Secret Service" using DBus.
32gnome-keyring and KSecretService are both implementations of a Secret
33Service.
34
cb8187a5
JB
35%description -l pl.UTF-8
36libsecret to biblioteka do przechowywania i odczytu haseł oraz innych
37tajnych informacji. Komunikuje się z usługą informacji tajnych
38("Secret Service") poprzez DBus. Zarówno gnome-keyring, jak i
39KSecretService są implementacjami tej usługi.
40
0ee8916b
ŁK
41%package devel
42Summary: Header files for libsecret library
43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libsecret
106f9fbc 44Group: Development/Libraries
cb8187a5 45Requires: %{name} = %{version}-%{release}
81b9688b 46Requires: glib2-devel >= 1:2.38.0
cb8187a5 47Requires: libgcrypt-devel >= 1.2.2
0ee8916b
ŁK
48
49%description devel
50Header files for libsecret library.
51
52%description devel -l pl.UTF-8
53Pliki nagłówkowe biblioteki libsecret.
54
55%package static
56Summary: Static libsecret library
57Summary(pl.UTF-8): Statyczna biblioteka libsecret
58Group: Development/Libraries
cb8187a5 59Requires: %{name}-devel = %{version}-%{release}
0ee8916b
ŁK
60
61%description static
0a0eeed2 62Static libsecret library.
0ee8916b
ŁK
63
64%description static -l pl.UTF-8
65Statyczna biblioteka libsecret.
66
67%package apidocs
68Summary: libsecret API documentation
69Summary(pl.UTF-8): Dokumentacja API biblioteki libsecret
70Group: Documentation
d47464cd
ER
71%if "%{_rpmversion}" >= "5"
72BuildArch: noarch
73%endif
0ee8916b
ŁK
74
75%description apidocs
76libsecret API documentation.
77
78%description apidocs -l pl.UTF-8
79Dokumentacja API biblioteki libsecret.
80
81%package -n vala-libsecret
82Summary: libsecret API for Vala language
83Summary(pl.UTF-8): API libsecret dla języka Vala
84Group: Development/Libraries
cb8187a5
JB
85Requires: %{name}-devel = %{version}-%{release}
86Requires: vala >= 2:0.17.2.12
0ee8916b
ŁK
87
88%description -n vala-libsecret
89libsecret API for Vala language.
90
91%description -n vala-libsecret -l pl.UTF-8
92API libsecret dla języka Vala.
93
94%prep
95%setup -q
96
97%build
98%configure \
99 --disable-silent-rules \
100 %{__enable_disable static_libs static} \
101 %{__enable_disable apidocs gtk-doc} \
102 %{__enable_disable vala vala} \
103 --with-html-dir=%{_gtkdocdir}/%{name}
104%{__make}
105
106%install
107rm -rf $RPM_BUILD_ROOT
108
109%{__make} install \
110 DESTDIR=$RPM_BUILD_ROOT
111
112%find_lang libsecret
113
114%clean
115rm -rf $RPM_BUILD_ROOT
116
cb8187a5
JB
117%post -p /sbin/ldconfig
118%postun -p /sbin/ldconfig
0ee8916b
ŁK
119
120%files -f libsecret.lang
121%defattr(644,root,root,755)
cb8187a5 122%doc AUTHORS ChangeLog NEWS README
0ee8916b
ŁK
123%attr(755,root,root) %{_bindir}/secret-tool
124%attr(755,root,root) %{_libdir}/libsecret-1.so.*.*.*
125%attr(755,root,root) %ghost %{_libdir}/libsecret-1.so.0
126%{_libdir}/girepository-1.0/Secret-1.typelib
0ee8916b
ŁK
127%{_mandir}/man1/secret-tool.1*
128
129%files devel
130%defattr(644,root,root,755)
cb8187a5 131%attr(755,root,root) %{_libdir}/libsecret-1.so
0ee8916b 132%{_libdir}/libsecret-1.la
cb8187a5 133%{_includedir}/libsecret-1
0ee8916b
ŁK
134%{_pkgconfigdir}/libsecret-1.pc
135%{_pkgconfigdir}/libsecret-unstable.pc
136%{_datadir}/gir-1.0/Secret-1.gir
0ee8916b
ŁK
137
138%if %{with static_libs}
139%files static
140%defattr(644,root,root,755)
141%{_libdir}/libsecret-1.a
142%endif
143
144%if %{with apidocs}
145%files apidocs
146%defattr(644,root,root,755)
147%{_gtkdocdir}/%{name}
148%endif
149
150%if %{with vala}
151%files -n vala-libsecret
152%defattr(644,root,root,755)
153%{_datadir}/vala/vapi/libsecret-1.deps
154%{_datadir}/vala/vapi/libsecret-1.vapi
0ee8916b 155%endif
This page took 0.084876 seconds and 4 git commands to generate.