rpms/ctapi-common/devel ctapi-common.LICENSE, NONE, 1.1 ctapi-common.README, NONE, 1.1 ctapi-common.spec, NONE, 1.1

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sun May 7 13:36:46 UTC 2006


Author: scop

Update of /cvs/extras/rpms/ctapi-common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12494/devel

Added Files:
	ctapi-common.LICENSE ctapi-common.README ctapi-common.spec 
Log Message:
auto-import ctapi-common-1.0-2 on branch devel from ctapi-common-1.0-2.src.rpm
Initial import (#190911).


--- NEW FILE ctapi-common.LICENSE ---
Copyright (c) 2006 Fedora Project <http://fedoraproject.org/>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


--- NEW FILE ctapi-common.README ---
The ctapi-common package provides common infrastructure for CT-API modules.

To take advantage of this:
- Install the modules into a directory listed in
  /etc/ld.so.conf.d/ctapi-*.conf for the target architecture.
- Add a dependency on that directory in packages.


--- NEW FILE ctapi-common.spec ---
# Not noarch, but nothing to strip:
%define debug_package %{nil}

Name:           ctapi-common
Version:        1.0
Release:        2%{?dist}
Summary:        Common files and packaging infrastructure for CT-API modules

Group:          System Environment/Libraries
License:        MIT
URL:            http://fedoraproject.org/
Source0:        %{name}.LICENSE
Source1:        %{name}.README
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
%{summary}.


%prep
%setup -c -T
cp -p %{SOURCE0} LICENSE
cp -p %{SOURCE1} README


%build
echo %{_libdir}/ctapi > ctapi.conf


%install
rm -rf $RPM_BUILD_ROOT
install -Dpm 644 ctapi.conf \
    $RPM_BUILD_ROOT/etc/ld.so.conf.d/ctapi-%{_target_cpu}.conf
install -dm 755 $RPM_BUILD_ROOT%{_libdir}/ctapi


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE README
# Hardcoded /etc in README -> hardcoded here.
/etc/ld.so.conf.d/ctapi-%{_target_cpu}.conf
%{_libdir}/ctapi/


%changelog
* Sat May  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.0-2
- Encourage dir based dependency on %%{_libdir}/ctapi in packages (#190911).
- Split contents of README into a separate file.
- Change license to MIT, include license text.
- Add URL.

* Sat May  6 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.0-1
- First build.




More information about the fedora-extras-commits mailing list