Changeset 614 for spec/trunk/SPECS


Ignore:
Timestamp:
Dec 14, 2015, 8:04:00 PM (10 years ago)
Author:
dmik
Message:

spec: fontconfig: Release 2.11.94-1.

Note that this also includes renaming of old (incomplete)
fontconfig 2.8.0 and below to fontconfig-legacy.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/fontconfig-legacy.spec

    r563 r614  
    11Summary:        Font configuration and customization library
    2 Name:           fontconfig
    3 Version:        2.8.0
    4 Release:        2%{?dist}
     2Name:           fontconfig-legacy
     3Version:        2.11.94
     4Release:        1%{?dist}
    55# src/ftglue.[ch] is in Public Domain
    66# src/fccache.c contains Public Domain code
     
    1111#Source:        http://fontconfig.org/release/%{name}-%{version}.tar.bz2
    1212URL:            http://fontconfig.org
     13
    1314%define svn_url     http://svn.netlabs.org/repos/ports/fontconfig_os2/trunk
    14 %define svn_rev     918
     15%define svn_rev     1188
     16
    1517Source: %{name}-%{version}-r%{svn_rev}.zip
    1618
    17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
     19BuildRequires: gcc make subversion zip
    1820
    1921BuildRequires:  freetype-devel >= 2.5.3
     
    2224Requires(pre):  freetype
    2325
     26# fontconfig-legacy used to be fontconfig before 2.11.94 (fontconfig is now a different
     27# package containing the complete upstream version with a differnt DLL name).
     28Obsoletes:  fontconfig < 2.11.94
     29
    2430%description
    2531Fontconfig is designed to locate fonts within the
    26 system and select them according to requirements specified by 
     32system and select them according to requirements specified by
    2733applications.
    2834
     
    3036Summary:        Font configuration and customization library
    3137Group:          Development/Libraries
    32 Requires:       %{name}%{?_isa} = %{version}-%{release}
     38Requires:       %{name} = %{version}-%{release}
    3339Requires:       freetype-devel >= 2.5.3
    3440Requires:       pkgconfig
     41
     42Obsoletes:  fontconfig-devel < 2.11.94
    3543
    3644%description    devel
     
    3846and developer docs for the fontconfig package.
    3947
    40 Install fontconfig-devel if you want to develop programs which 
     48Install fontconfig-devel if you want to develop programs which
    4149will use fontconfig.
     50
     51%debug_package
    4252
    4353
     
    5363
    5464
    55 %build
    5665%define kmk_env \
    5766    KMK_FLAGS="\
    5867        KBUILD_VERBOSE=2 \
    5968        BUILD_TYPE=release \
    60         NIX_INST_DIR=%{_prefix}" \
    61     unset BUILD_PLATFORM
     69        INST_PREFIX=%{_prefix}"
     70
     71
     72%build
    6273
    6374%{kmk_env}
     
    7182rm -rf "%{buildroot}"
    7283
    73 cmd /c kmk $KMK_FLAGS PATH_INS="%{buildroot}/%{_prefix}" install
    74 emximp -o %{buildroot}/%{_libdir}/fontconfig_dll.a %{buildroot}/%{_libdir}/fontconfig.lib
    75 rm %{buildroot}/%{_libdir}/*.lib
     84cmd /c kmk $KMK_FLAGS DESTDIR="%{buildroot}" install
     85
    7686
    7787%clean
     
    8797%files devel
    8898%defattr(-,root,root)
    89 %{_libdir}/fontconfig*.a
     99%{_libdir}/fontconfig*.lib
    90100%{_libdir}/pkgconfig/*
    91101%{_includedir}/fontconfig
     
    93103
    94104%changelog
     105* Mon Dec 14 2015 Dmitriy Kuminov <coding@dmik.orgh> - 2.11.94-1
     106- Import version 2.11.94 and add many new exports.
     107- Complete support for many APIs (FcPattern*, FcStr*, FcLang*)
     108  which makes this version much closer to original fontconfig.
     109- Hard-code substitution of WarpSans with Workplace Sans.
     110- Makefiles cleanup.
     111- Rename package from fontconfig to fontconfig-legacy due to the OS/2
     112  release of the full version of the original fontconfig library.
     113
    95114* Wed Oct 28 2014 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.8.0-2
    96115- build with svn source now
Note: See TracChangeset for help on using the changeset viewer.