Accepting request 390796 from home:pluskalm:branches:Base:System
- Split shared libraries (boo#976068) - Move info handling to preun section - Do not ship .la file OBS-URL: https://build.opensuse.org/request/show/390796 OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=40
This commit is contained in:
parent
8b5c242b38
commit
1f26123875
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 19 08:38:13 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Split shared libraries (boo#976068)
|
||||||
|
- Move info handling to preun section
|
||||||
|
- Do not ship .la file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 7 10:48:12 UTC 2015 - mpluskal@suse.com
|
Mon Dec 7 10:48:12 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
77
autogen.spec
77
autogen.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package autogen
|
# spec file for package autogen
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libopts25
|
||||||
Name: autogen
|
Name: autogen
|
||||||
Version: 5.18.7
|
Version: 5.18.7
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -35,15 +36,43 @@ BuildRequires: makeinfo
|
|||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
Requires(post): %{install_info_prereq}
|
Requires(post): %{install_info_prereq}
|
||||||
Requires(postun): %{install_info_prereq}
|
Requires(preun): %{install_info_prereq}
|
||||||
|
Requires: %{libname}-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
AutoGen is a tool designed for generating program files that contain
|
AutoGen is a tool designed for generating program files that contain
|
||||||
repetitive text with varied substitutions. Its goal is to simplify the
|
repetitive text with varied substitutions. Its goal is to simplify the
|
||||||
maintenance of programs that contain large amounts of repetitious text.
|
maintenance of programs that contain large amounts of repetitious text.
|
||||||
This is especially valuable if there are several blocks of such text
|
This is especially valuable if there are several blocks of such text that
|
||||||
that must be kept synchronized in parallel tables.
|
must be kept synchronized in parallel tables.
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: Shared library libopt
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
AutoGen is a tool designed for generating program files that contain
|
||||||
|
repetitive text with varied substitutions. Its goal is to simplify the
|
||||||
|
maintenance of programs that contain large amounts of repetitious text.
|
||||||
|
This is especially valuable if there are several blocks of such text that
|
||||||
|
must be kept synchronized in parallel tables.
|
||||||
|
|
||||||
|
This package contains shared library libopts
|
||||||
|
|
||||||
|
%package -n %{libname}-devel
|
||||||
|
Summary: Development files for libopt
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{libname} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{libname}-devel
|
||||||
|
AutoGen is a tool designed for generating program files that contain
|
||||||
|
repetitive text with varied substitutions. Its goal is to simplify the
|
||||||
|
maintenance of programs that contain large amounts of repetitious text.
|
||||||
|
This is especially valuable if there are several blocks of such text that
|
||||||
|
must be kept synchronized in parallel tables.
|
||||||
|
|
||||||
|
This package contains devel files for libopts
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -56,31 +85,45 @@ that must be kept synchronized in parallel tables.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%fdupes -s %{buildroot}%{_datadir}
|
%fdupes -s %{buildroot}%{_datadir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info}
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
||||||
|
|
||||||
%postun
|
%preun
|
||||||
/sbin/ldconfig
|
%install_info_delete --info-dir=%{_infodir} %%{_infodir}/autogen.info%{ext_info}
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
||||||
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc NEWS ChangeLog
|
%doc NEWS ChangeLog
|
||||||
%{_bindir}/*
|
%{_bindir}/autogen
|
||||||
%{_includedir}/*
|
%{_bindir}/autoopts-config
|
||||||
%{_libdir}/lib*
|
%{_bindir}/columns
|
||||||
|
%{_bindir}/getdefs
|
||||||
|
%{_bindir}/xml2ag
|
||||||
%{_libdir}/autogen
|
%{_libdir}/autogen
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_mandir}/man1/*%{ext_man}
|
||||||
%{_mandir}/man?/*.gz
|
%{_infodir}/*%{ext_info}
|
||||||
%{_datadir}/aclocal/*
|
|
||||||
%{_datadir}/autogen
|
%{_datadir}/autogen
|
||||||
%{_infodir}/*.gz
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libopts.so.*
|
||||||
|
|
||||||
|
%files -n %{libname}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libopts.so
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_mandir}/man3/*%{ext_man}
|
||||||
|
%{_datadir}/aclocal/*
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user