source: projects/specs/trunk/lib/liba/libaccounts-glib/libaccounts-glib-vl.spec @ 12005

Revision 12005, 2.8 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

Line 
1%define repo_id 17201ad512e86d248ac158046ac322e7164adc87
2
3Name:           libaccounts-glib
4Version:        1.24
5Release:        1%{?_dist_release}
6Summary:        A low-level library for managing accounts settings.
7
8Group:          System Environment/Libraries
9License:        LGPL
10URL:            https://gitlab.com/accounts-sso/libaccounts-glib
11Source0:        https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/%{version}/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  meson
16BuildRequires:  python3-rpm-macros
17BuildRequires:  glib2-devel
18BuildRequires:  libxml2-devel
19BuildRequires:  gobject-introspection-devel
20BuildRequires:  sqlite3-devel
21BuildRequires:  python3-pygobject
22BuildRequires:  check-devel
23BuildRequires:  gtk-doc
24BuildRequires:  docbook-style-xsl
25BuildRequires:  vala-devel
26
27
28Vendor: Project Vine
29Distribution: Vine Linux
30
31
32%description
33This project is a library for managing accounts which can be used from GLib
34applications.
35
36
37%package                devel
38Summary:        Development tools for %{name}
39Summary(ja):    %{name}
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43
44%description    devel
45Header files and libraries for building a extension library for the
46%{name}.
47
48
49%package        vala
50Summary:        Vala bindings for %{name}
51Summary(ja):    %{name} の Vala バインディング
52Group:          Development/Libraries
53Requires:       %{name} = %{version}-%{release}
54Requires:       vala
55
56%description    vala
57Vala bindings for %{name}.
58
59
60%prep
61%setup -q -n %{name}-%{version}
62perl -pi -e 's/^subdir.*docs.*$//' meson.build
63
64%build
65%meson
66%meson_build
67
68%install
69rm -rf $RPM_BUILD_ROOT
70%meson_install
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76
77%postun -p /sbin/ldconfig
78
79%files
80%defattr(-,root,root,-)
81%doc COPYING NEWS README*
82%{_bindir}/ag-backup
83%{_bindir}/ag-tool
84%{_libdir}/%{name}.so.*
85%{_libdir}/girepository-1.0/Accounts-1.0.typelib
86%{python3_sitearch}/gi/overrides/Accounts.*
87%{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
88%{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd
89%{_datadir}/gettext/its/*
90#%{_mandir}/man1/ag-backup.1.gz
91#%{_mandir}/man1/ag-tool.1.gz
92
93%files devel
94%defattr(-, root, root, -)
95%{_includedir}/%{name}
96%{_libdir}/%{name}.so
97%{_libdir}/pkgconfig/%{name}.pc
98%{_datadir}/gir-1.0/Accounts-1.0.gir
99
100%files vala
101%defattr(-, root, root, -)
102%{_datadir}/vala/vapi/%{name}.deps
103%{_datadir}/vala/vapi/%{name}.vapi
104
105
106%changelog
107* Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.24-1
108- new upstream release.
109
110* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
111- new upstream release
112- remove %%{name}-docs subpackage
113
114* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
115- initial build
116
Note: See TracBrowser for help on using the repository browser.