source: projects/specs/trunk/m/mxml/mxml-vl.spec @ 11529

Revision 11529, 4.9 KB checked in by tomop, 6 years ago (diff)

mxml-2.11-1

Line 
1Summary:      Miniature XML development library
2Name:         mxml
3Version:      2.11
4Release:      1%{?_dist_release}
5License:      LGPLv2+
6Group:        System Environment/Libraries
7URL:          http://www.msweet.org/mxml/
8Source0:      https://github.com/michaelrsweet/mxml/releases/download/v%{version}/mxml-%{version}.tar.gz
9BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11Vendor:       Project Vine
12Distribution: Vine Linux
13
14# This is requires because we patch configure.in.
15BuildRequires: autoconf zlib-devel
16
17%description
18Mini-XML is a small XML parsing library that you can use to read XML
19and XML-like data files in your application without requiring large
20non-standard libraries.
21
22%package devel
23Summary:  Libraries, includes, etc to develop mxml applications
24Group:    Development/Libraries
25Requires: mxml = %{version}-%{release}
26Requires: pkgconfig
27
28%description devel
29Libraries, include files, etc you can use to develop mxml
30applications.
31
32%prep
33%setup -q -c
34
35%build
36# Run autoconf since we patched configure.in.
37autoconf
38%configure --enable-shared
39make %{?_smp_mflags}
40
41%install
42rm -rf %{buildroot}
43make BUILDROOT=%{buildroot} install
44
45# Configuring with --disable-static doesn't work, so let's just delete
46# the .a file by hand.
47rm %{buildroot}%{_libdir}/libmxml.a
48
49# remove extra docs
50rm -rf %{buildroot}%{_datadir}/doc/mxml/
51
52# remove rendered man pages
53rm -f %{buildroot}%{_datadir}/man/cat*/*
54
55
56%clean
57rm -rf %{buildroot}
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63%files
64%defattr(-,root,root,-)
65%doc COPYING README.md
66%{_bindir}/*
67%{_libdir}/libmxml.so.*
68
69%files devel
70%defattr(-,root,root,-)
71%doc CHANGES.md doc/*.html doc/*.jpg doc/*.png doc/*.pdf
72%{_includedir}/*.h
73%{_libdir}/libmxml.so
74%{_mandir}/*/*
75%{_libdir}/pkgconfig/mxml.pc
76
77%changelog
78* Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
79- new upstream release.
80
81* Tue Jul  7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8-3
82- initia build for Vine Linux.
83
84* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
86
87* Sun Apr 06 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.8-1
88- Update to 2.8
89
90* Tue Dec 03 2013 Brendan Jones <brendan.jones.it@gmail.com> 2.6-1
91- Update to 2.7
92
93* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-10
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
95
96* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-9
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
98
99* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-8
100- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
101
102* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-7
103- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
104
105* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
106- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
107
108* Wed Oct 28 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.5-5
109- Fix typo in the .pc file (RHBZ#503628). Patch by Robert Szalai
110
111* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4
112- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
113
114* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
115- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
116
117* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.5-2
118- fix license tag
119
120* Tue Jul 08 2008 Anthony Green <green@redhat.com> 2.5
121- Upgrade source.
122
123* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.2-8
124- Autorebuild for GCC 4.3
125
126* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.2.2-7
127 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
128
129* Tue Sep 19 2006 Anthony Green <green@redhat.com> 2.2.2-6
130- Fix release tag.
131
132* Mon Sep 18 2006 Anthony Green <green@redhat.com> 2.2.2-5.1
133- Rebuild.
134
135* Mon Sep  4 2006 Anthony Green <green@redhat.com> 2.2.2-5
136- devel package must Require pkgconfig.
137
138* Wed Jul 19 2006 Anthony Green <green@redhat.com> 2.2.2-4
139- Fix /usr/share references.
140
141* Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-3
142- Fix /usr/lib reference when deleting libmxml.a.
143
144* Sat Jul 15 2006 Anthony Green <green@redhat.com> 2.2.2-2
145- Fix License (LGPL, not GPL).
146- Move programming documentation to devel package.
147- Build shared library, and no static library.
148- Add %%post(un).
149- Remove rpath with mxml-no-rpath.patch.
150- First Fedora Extras build.
151
152* Fri Sep 23 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.2.2-1
153- updated to 2.2.2 (zynaddsubfx needs 2.2 at least)
154* Mon Dec 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
155- spec file cleanup
156* Wed Aug  4 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 2.0-1
157- initial build.
158
159
Note: See TracBrowser for help on using the repository browser.