Compare commits
1 commit
rawhide
...
static-201
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e83b742df0 |
1 changed files with 23 additions and 4 deletions
27
xmlada.spec
27
xmlada.spec
|
|
@ -1,6 +1,6 @@
|
||||||
Name: xmlada
|
Name: xmlada
|
||||||
Version: 2013
|
Version: 2013
|
||||||
Release: 11%{?dist}
|
Release: 11.1%{?dist}
|
||||||
Summary: XML library for Ada
|
Summary: XML library for Ada
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
|
@ -38,6 +38,21 @@ Requires: fedora-gnat-project-common >= 2
|
||||||
%description devel
|
%description devel
|
||||||
Xml library for ada devel package.
|
Xml library for ada devel package.
|
||||||
|
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Summary: XML library for Ada, static libraries
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description static
|
||||||
|
This package contains the XML/Ada libraries for static linking. It is needed
|
||||||
|
for linking GPRbuild statically so that GPRbuild will remain functional when
|
||||||
|
libraries are upgraded.
|
||||||
|
|
||||||
|
Other Fedora packages shall require xmlada-devel rather than xmlada-static if
|
||||||
|
possible.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n xmlada-gpl-%{version}-src
|
%setup -q -n xmlada-gpl-%{version}-src
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
@ -45,7 +60,7 @@ Xml library for ada devel package.
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-rpath --enable-shared --disable-static
|
%configure --disable-rpath --enable-shared --enable-static
|
||||||
make %{?_smp_mflags} GNATFLAGS="%{GNAT_optflags}" ADA_PROJECT_PATH=%_GNAT_project_dir BUILDS_SHARED=yes
|
make %{?_smp_mflags} GNATFLAGS="%{GNAT_optflags}" ADA_PROJECT_PATH=%_GNAT_project_dir BUILDS_SHARED=yes
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -64,7 +79,6 @@ install -d -m 0755 %{buildroot}/%{_libdir}/%{name}/static/
|
||||||
## There is not GNAT programming studio in Fedora
|
## There is not GNAT programming studio in Fedora
|
||||||
## To enable GPS plugin delete this string and create subpackage
|
## To enable GPS plugin delete this string and create subpackage
|
||||||
rm -f %{buildroot}/%{_datadir}/gps/plug-ins/%{name}_gps.py*
|
rm -f %{buildroot}/%{_datadir}/gps/plug-ins/%{name}_gps.py*
|
||||||
rm -f %{buildroot}/%{_libdir}/%{name}/static/*
|
|
||||||
## only-non-binary-in-usr-lib
|
## only-non-binary-in-usr-lib
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
@ -73,7 +87,6 @@ rm -f %{buildroot}/%{_libdir}/%{name}/static/*
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%{_docdir}/%{name}
|
%{_docdir}/%{name}
|
||||||
%dir %{_libdir}/%{name}/relocatable
|
%dir %{_libdir}/%{name}/relocatable
|
||||||
%dir %{_libdir}/%{name}/static
|
|
||||||
%{_libdir}/lib%{name}_dom.so.*
|
%{_libdir}/lib%{name}_dom.so.*
|
||||||
%{_libdir}/lib%{name}_input_sources.so.*
|
%{_libdir}/lib%{name}_input_sources.so.*
|
||||||
%{_libdir}/lib%{name}_schema.so.*
|
%{_libdir}/lib%{name}_schema.so.*
|
||||||
|
|
@ -106,8 +119,14 @@ rm -f %{buildroot}/%{_libdir}/%{name}/static/*
|
||||||
%{_libdir}/lib%{name}*.so
|
%{_libdir}/lib%{name}*.so
|
||||||
|
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%{_libdir}/%{name}/static
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 27 2016 Björn Persson <Bjorn@Rombobjörn.se> - 2013-11.1
|
||||||
|
- Added a -static subpackage for linking GPRbuild statically.
|
||||||
|
|
||||||
* Wed Apr 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2013-11
|
* Wed Apr 29 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2013-11
|
||||||
- rebuild (gcc / gnat 5)
|
- rebuild (gcc / gnat 5)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue