fedora-rpmdevtools spectemplate-lib.spec, NONE, 1.1 fedora-newrpmspec, 1.6, 1.7 fedora-rpmdevtools.spec, 1.92, 1.93
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Sun Apr 2 22:08:14 UTC 2006
Author: scop
Update of /cvs/fedora/fedora-rpmdevtools
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8626
Modified Files:
fedora-newrpmspec fedora-rpmdevtools.spec
Added Files:
spectemplate-lib.spec
Log Message:
* Mon Apr 3 2006 Ville Skyttä <ville.skytta at iki.fi>
- Add spec template for library packages (#185606, Ignacio Vazquez-Abrams).
--- NEW FILE spectemplate-lib.spec ---
Name:
Version:
Release: 1%{?dist}
Summary:
Group: System Environment/Libraries
License:
URL:
Source0:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:
Requires:
%description
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%doc
%{_includedir}/*
%{_libdir}/*.so
%changelog
Index: fedora-newrpmspec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/fedora-newrpmspec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fedora-newrpmspec 5 Feb 2006 14:05:34 -0000 1.6
+++ fedora-newrpmspec 2 Apr 2006 22:08:11 -0000 1.7
@@ -14,8 +14,10 @@
Options:
-o FILE Output the specfile to FILE. "-" means stdout. The default is
"<appname>.spec", or "$DEFSPEC" if appname is not given.
- -t TYPE Force use of the TYPE spec template. The default is "$DEFTYPE",
- see $SPECDIR/spectemplate-*.spec for available types.
+ -t TYPE Force use of the TYPE spec template. The default is guessed
+ from <appname>, falling back to "$DEFTYPE" if the guesswork
+ does not result in a more specific one or if <appname> is not
+ given. See $SPECDIR/spectemplate-*.spec for available types.
-h Show this usage message
EOF
exit $ret
@@ -65,6 +67,9 @@
ruby-*)
spectype=ruby
;;
+ lib*|*-lib|*-libs)
+ spectype=lib
+ ;;
*)
spectype=$DEFTYPE
;;
Index: fedora-rpmdevtools.spec
===================================================================
RCS file: /cvs/fedora/fedora-rpmdevtools/fedora-rpmdevtools.spec,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- fedora-rpmdevtools.spec 26 Feb 2006 15:53:55 -0000 1.92
+++ fedora-rpmdevtools.spec 2 Apr 2006 22:08:11 -0000 1.93
@@ -127,6 +127,9 @@
%changelog
+* Mon Apr 3 2006 Ville Skyttä <ville.skytta at iki.fi>
+- Add spec template for library packages (#185606, Ignacio Vazquez-Abrams).
+
* Sun Feb 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.5-1
- Improve diffarchive and extract error messages.
More information about the fedora-extras-commits
mailing list