source: projects/specs/trunk/u/uchardet/uchardet-vl.spec @ 12457

Revision 12457, 4.5 KB checked in by tomop, 16 months ago (diff)

updated 3 packages

gedit-3.36.2-1

tepl-4.4.0-2

uchardet-0.0.6-12

Line 
1%undefine __cmake_in_source_build
2
3Name:           uchardet
4Version:        0.0.6
5Release:        12%{?_dist_release}
6Summary:        An encoding detector library ported from Mozilla
7Group:          system
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        MPLv1.1
12URL:            https://www.freedesktop.org/wiki/Software/%{name}
13Source0:        https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
14
15BuildRequires:  gcc
16BuildRequires:  gcc-c++
17BuildRequires:  cmake
18
19%description
20Uchardet is a C language binding of the original C++ implementation of the
21universal charset detection library by Mozilla. Uchardet is an encoding
22detector library, which takes a sequence of bytes in an unknown character
23encoding without any additional information, and attempts to determine the
24encoding of the text.
25
26%package        devel
27Summary:        Development files for %{name}
28Group:          programming
29Requires:       %{name}%{?_isa} = %{version}-%{release}
30
31%description    devel
32The %{name}-devel package contains headers and shared libraries
33for developing tools for uchardet.
34
35
36%prep
37%autosetup
38
39
40%build
41mkdir -p build
42pushd build
43%cmake \
44  -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
45  -DBUILD_STATIC=OFF \
46  ..
47make %{?_smp_mflags}
48popd
49
50
51%install
52pushd build
53make DESTDIR=%{buildroot} install
54popd
55
56
57%check
58pushd build
59  ctest -VV \
60  %ifarch %{ix86}
61    || :
62  %else
63    ;
64  %endif
65popd
66
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71
72%files
73%license COPYING
74%doc AUTHORS
75%{_bindir}/%{name}
76%{_libdir}/lib%{name}.so.*
77%{_mandir}/man1/%{name}.1*
78
79%files devel
80%{_includedir}/%{name}/
81%{_libdir}/lib%{name}.so
82%{_libdir}/pkgconfig/%{name}.pc
83
84
85%changelog
86* Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.0.6-12
87- initial build for Vine Linux.
88
89* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-11
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
91
92* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-10
93- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
94
95* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-9
96- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
97
98* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
99- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
100
101* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
102- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
103
104* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
105- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
106
107* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.0.6-5
108- Switch to %%ldconfig_scriptlets
109
110* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-4
111- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
112
113* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
115
116* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-2
117- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
118
119* Thu Dec 22 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.6-1
120- update version to 0.0.6
121- changed upstream url
122
123* Thu Jul 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-4
124- Rebuild for f23 to fix i686
125
126* Fri Feb 12 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-3
127- Fixup summary in devel subpkg
128
129* Mon Feb 08 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.0.5-2
130- Fix building on i686 properly
131
132* Sat Feb 6  2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.5-1
133- update version to 0.0.5
134
135* Fri Nov 20 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.3-1
136- update version to 0.0.3
137- add tests
138
139* Thu Oct  1 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-5
140- remove macros srcname and sum
141
142* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.1-4
143- fix enable debug packages
144- fix add flag verbose for make
145- fix change in build
146- fix remove in libs from files
147- fix add change for libs in post/postun
148- fix version on 0.0.1 from git
149- added macros
150
151* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-3
152- fix description and summary for libs and libs-devel
153
154* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-2
155- fix version on 0.0.0
156- fix license path
157- remove static lib
158- fix description
159- fix number packages
160
161* Mon Sep 21 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.0.0-1
162- Initial package
Note: See TracBrowser for help on using the repository browser.