source: projects/specs/trunk/lib/libz/libzeitgeist/libzeitgeist-vl.spec @ 10716

Revision 10716, 5.3 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1Name:           libzeitgeist
2Summary:        Client library for applications that want to interact with the Zeitgeist daemon
3Version:        0.3.18
4Release:        3%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        LGPLv3 and GPLv3
8URL:            https://launchpad.net/libzeitgeist
9
10Source0:        http://launchpad.net/%{name}/0.3/%{version}/+download/%{name}-%{version}.tar.gz
11Patch0:         libzeitgeist-disable-log-test.patch
12
13# https://bugzilla.gnome.org/show_bug.cgi?id=704593
14Patch1:         %{name}-tests-glib-2.40-envnull.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  glib2-devel gtk-doc
18# zeitgeist is just a runtime and the reason to install libzeitgeist
19#Requires:       zeitgeist
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25This project provides a client library for applications that want to interact
26with the Zeitgeist daemon. The library is written in C using glib and provides
27an asynchronous GObject oriented API.
28
29%package        devel
30Summary:        Development files for %{name}
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33
34%description    devel
35The %{name}-devel package contains libraries and header files for
36developing applications that use %{name}.
37
38
39%package        vala
40Summary:        Vala bindings for %{name}
41Summary(ja):    %{name} の Vala バインディング
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       vala
45
46%description    vala
47Vala bindings for %{name}.
48
49
50%prep
51%setup -q
52%patch0 -p1
53%patch1 -p1
54
55%build
56%configure --disable-static
57make V=1 %{?_smp_mflags}
58
59
60%check
61make check
62
63
64%install
65make install DESTDIR=%{buildroot} INSTALL="install -p"
66install -d -p -m 755 %{buildroot}%{_datadir}/vala/vapi
67install -D -p -m 644 bindings/zeitgeist-1.0.{vapi,deps} %{buildroot}%{_datadir}/vala/vapi
68find %{buildroot} -name '*.la' -exec rm -f {} ';'
69
70# remove duplicate documentation
71rm -fr %{buildroot}%{_defaultdocdir}/%{name}
72
73
74%post -p /sbin/ldconfig
75
76%postun -p /sbin/ldconfig
77
78
79%files
80%defattr(-,root,root,-)
81# documentation
82%doc COPYING COPYING.GPL README
83# essential
84%{_libdir}/*.so.*
85
86
87%files devel
88%defattr(-,root,root,-)
89# Documentation
90%doc AUTHORS ChangeLog COPYING COPYING.GPL MAINTAINERS NEWS
91%doc examples/*.vala examples/*.c
92%{_datadir}/gtk-doc/html/zeitgeist-1.0/
93# essential
94%{_includedir}/zeitgeist-1.0/
95%{_libdir}/pkgconfig/zeitgeist-1.0.pc
96%{_libdir}/*.so
97
98%files vala
99%defattr(-,root,root,-)
100%{_datadir}/vala/vapi/
101
102
103%changelog
104* Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.18-3
105- create %%{name}-vala subpackage
106- add Patch1 (libzeitgeist-tests-glib-2.40-envnull.patch) from fedora
107
108* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.18-2
109- rebuild with VineSeed environment
110
111* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.18-1
112- new upstream release
113- replace Patch0 (libzeitgeist-disable-log-test.patch) from fedora
114
115* Sun Nov 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.3.12-1
116- Initial package for Vine Linux
117
118* Wed Apr 06 2011 Renich Bon ciric <renich@woralelandia.com> - 0.3.10-1
119- Updated to version 0.3.10
120- Fixed bugs:
121    https://bugs.launchpad.net/ubuntu/+source/libzeitgeist/+bug/742438
122- Renamed log fix patch to something more appropriate
123
124* Sat Apr 02 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-4
125- Added -p to install statements (forgot some)
126- Moved README to the main package from devel
127
128* Fri Mar 25 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-3
129- Removed Rubys geo2 dependency since is not needed; it's provided by glibc-devel
130
131* Thu Mar 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-2
132- Log test failure repaired by patch from Mamoru Tasaka
133
134* Mon Mar 21 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.6-1
135- Updated to 0.3.6
136- Implemented the isa macro for the devel subpackage.
137- Eliminated the doc macro from gtk-doc since it gets marked automatically
138
139* Sat Mar 12 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-3
140- Removed mistaken isa macro from zeitgeist require
141
142* Thu Mar 10 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-2
143- Cleaned up old stuff (BuildRoot, Clean and stuff of sorts)
144    https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
145    https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
146- Added glib2-devel and gtk-doc as a BuildRequires
147- Added GPLv3 since it covers the documentation examples
148- Updated Requires to use the new arch specification macro when accordingly
149    https://fedoraproject.org/wiki/Packaging/Guidelines#Requires
150- Configured install to preserve timestamps
151- Added V=1 to the make flags for more verbosity on build
152- Added a check section
153- Removed disable-module from configure statement since it's not needed anymore:
154    https://bugs.launchpad.net/libzeitgeist/+bug/683805
155
156* Thu Feb 24 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.4-1
157- updated to latest version
158
159* Sun Feb 06 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-3
160- got rid of INSTALL from docs
161- got rid ot dorcdir and used doc to include html docs
162
163* Sat Feb 05 2011 Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-2
164- removed duplicate documentation
165- added the use of macros for everything; including source and build dir.
166- revised path syntax
167
168* Thu Jan 27 2011 - Renich Bon Ciric <renich@woralelandia.com> - 0.3.2-1
169- First buildName:           libzeitgeist
Note: See TracBrowser for help on using the repository browser.