projects
/
shibboleth
/
xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tagging 1.3.3 release.
[shibboleth/xmltooling.git]
/
xmltooling.spec.in
diff --git
a/xmltooling.spec.in
b/xmltooling.spec.in
index
0390def
..
59ce378
100644
(file)
--- a/
xmltooling.spec.in
+++ b/
xmltooling.spec.in
@@
-1,5
+1,5
@@
-Name:
xmltooling
-Version: @
-VERSION-
@
+Name:
@PACKAGE@
+Version: @
PACKAGE_VERSION
@
Release: 1
Summary: OpenSAML XMLTooling library
Group: System Environment/Libraries
Release: 1
Summary: OpenSAML XMLTooling library
Group: System Environment/Libraries
@@
-21,6
+21,9
@@
BuildRequires: xml-security-c-devel >= 1.4.0
%endif
BuildRequires: gcc-c++, openssl-devel, curl-devel >= 7.10.6
%{!?_without_doxygen:BuildRequires: doxygen}
%endif
BuildRequires: gcc-c++, openssl-devel, curl-devel >= 7.10.6
%{!?_without_doxygen:BuildRequires: doxygen}
+%if "%{_vendor}" == "redhat"
+BuildRequires: redhat-rpm-config
+%endif
%if "%{_vendor}" == "suse"
%define pkgdocdir %{_docdir}/%{name}
%if "%{_vendor}" == "suse"
%define pkgdocdir %{_docdir}/%{name}
@@
-36,12
+39,13
@@
classes to add value around the DOM, as well as signing and encryption
support.
%if 0%{?suse_version} > 1030
support.
%if 0%{?suse_version} > 1030
-%package -n lib
xmltooling12
+%package -n lib
@PACKAGE@4
Summary: OpenSAML XMLTooling library
Group: Development/Libraries
Summary: OpenSAML XMLTooling library
Group: Development/Libraries
-Provides: xmltooling = %{version}
+Provides: @PACKAGE@ = %{version}
+Obsoletes: @PACKAGE@
-%description -n lib
xmltooling12
+%description -n lib
@PACKAGE@4
The XMLTooling library contains generic XML parsing and processing
classes based on the Xerces-C DOM. It adds more powerful facilities
for declaring element- and type-specific API and implementation
The XMLTooling library contains generic XML parsing and processing
classes based on the Xerces-C DOM. It adds more powerful facilities
for declaring element- and type-specific API and implementation
@@
-52,11
+56,12
@@
This package contains just the shared library.
%endif
%if 0%{?suse_version} > 1030
%endif
%if 0%{?suse_version} > 1030
-%package -n libxmltooling-devel
-Requires: libxmltooling12 = %version
+%package -n lib@PACKAGE@-devel
+Requires: lib@PACKAGE@4 = %version
+Obsoletes: @PACKAGE@-devel
%else
%package devel
%else
%package devel
-Requires: %name = %version
+Requires:
%name = %version
%endif
Summary: XMLTooling development Headers
Group: Development/Libraries
%endif
Summary: XMLTooling development Headers
Group: Development/Libraries
@@
-74,8
+79,7
@@
Requires: xml-security-c-devel >= 1.4.0
Requires: openssl-devel, curl-devel >= 7.10.6
%if 0%{?suse_version} > 1030
Requires: openssl-devel, curl-devel >= 7.10.6
%if 0%{?suse_version} > 1030
-%description -n libxmltooling-devel
-Requires: libxmltooling12 = %version
+%description -n lib@PACKAGE@-devel
%else
%description devel
%endif
%else
%description devel
%endif
@@
-85,19
+89,19
@@
for declaring element- and type-specific API and implementation
classes to add value around the DOM, as well as signing and encryption
support.
classes to add value around the DOM, as well as signing and encryption
support.
-This package includes files needed for development with
xmlt
ooling.
+This package includes files needed for development with
XMLT
ooling.
%prep
%setup -q
%build
%prep
%setup -q
%build
-%configure %{?
xmltooling
_options}
+%configure %{?
@PACKAGE@
_options}
%{__make}
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
# Don't package unit tester if present.
%{__make}
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{pkgdocdir}
# Don't package unit tester if present.
-%{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/
xmltooling
test
+%{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/
@PACKAGE@
test
%check
%{__make} check
%check
%{__make} check
@@
-107,7
+111,7
@@
This package includes files needed for development with xmltooling.
%ifnos solaris2.8 solaris2.9 solaris2.10
%if 0%{?suse_version} > 1030
%ifnos solaris2.8 solaris2.9 solaris2.10
%if 0%{?suse_version} > 1030
-%post -n lib
xmltooling12
-p /sbin/ldconfig
+%post -n lib
@PACKAGE@4
-p /sbin/ldconfig
%else
%post -p /sbin/ldconfig
%endif
%else
%post -p /sbin/ldconfig
%endif
@@
-115,25
+119,24
@@
This package includes files needed for development with xmltooling.
%ifnos solaris2.8 solaris2.9 solaris2.10
%if 0%{?suse_version} > 1030
%ifnos solaris2.8 solaris2.9 solaris2.10
%if 0%{?suse_version} > 1030
-%postun -n lib
xmltooling12
-p /sbin/ldconfig
+%postun -n lib
@PACKAGE@4
-p /sbin/ldconfig
%else
%postun -p /sbin/ldconfig
%endif
%endif
%if 0%{?suse_version} > 1030
%else
%postun -p /sbin/ldconfig
%endif
%endif
%if 0%{?suse_version} > 1030
-%files -n lib
xmltooling12
+%files -n lib
@PACKAGE@4
%else
%files
%endif
%defattr(-,root,root,-)
%else
%files
%endif
%defattr(-,root,root,-)
-%{_libdir}/libxmltooling.so.*
-%{_libdir}/libxmltooling-lite.so.*
-%dir %{_datadir}/xml/xmltooling
-%{_datadir}/xml/xmltooling
+%{_libdir}/*.so.*
+%dir %{_datadir}/xml/@PACKAGE@
+%{_datadir}/xml/@PACKAGE@/*
%if 0%{?suse_version} > 1030
%if 0%{?suse_version} > 1030
-%files -n lib
xmltooling
-devel
+%files -n lib
@PACKAGE@
-devel
%else
%files devel
%endif
%else
%files devel
%endif
@@
-143,6
+146,9
@@
This package includes files needed for development with xmltooling.
%doc %{pkgdocdir}
%changelog
%doc %{pkgdocdir}
%changelog
+* Mon Aug 31 2009 Scott Cantor <cantor.2@osu.edu> - 1.3-1
+- Bump soname for SUSE packaging.
+
* Thu Aug 6 2009 Scott Cantor <cantor.2@osu.edu> - 1.2.1-1
- SuSE conventions
- Stop packaging unit tester
* Thu Aug 6 2009 Scott Cantor <cantor.2@osu.edu> - 1.2.1-1
- SuSE conventions
- Stop packaging unit tester