Changeset 1476 in ProjectBuilder for projects/uuwl/pbconf/devel/uuwl/rpm/uuwl.spec


Ignore:
Timestamp:
Apr 19, 2012, 1:11:53 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4689@localhost: bruno | 2012-04-18 23:50:55 +0200

  • First successful raw build of RPM packages. Now needs configure + some improvements on build.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/uuwl/pbconf/devel/uuwl/rpm/uuwl.spec

    r1475 r1476  
    22# $Id$
    33#
    4 # Used if virtual name != real name (perl, ...) - replace hash by percent in the below line
    5 #define srcname PBPKG
     4%define major 0
     5%define libname %mklibname PBPKG %{major}
     6%define develname %mklibname PBPKG -d
    67
    78Summary:        PBSUMMARY
    8 Summary(fr):    french bla-bla
    9 
    10 Name:           PBREALPKG
     9Name:           PBPKG
    1110Version:        PBVER
    1211Release:        PBTAGPBSUF
     
    1716#PBPATCHSRC
    1817BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    19 #Requires:       PBDEP
     18Requires:       kernel-devel
    2019
    2120%description
    2221PBDESC
    2322
    24 %description -l fr
    25 french desc
     23%package -n %develname
     24Summary:        Development files for %{name}
     25Provides:       %{name}-devel
     26Requires:       pkgconfig
     27Requires:       %{libname} = %{version}-%{release}
     28
     29%description -n %develname
     30This package contains libraries and header files for
     31developing applications that use %{name}.
     32
     33%package -n %{libname}
     34Summary:        Libraries for %{name}
     35
     36%description -n %{libname}
     37The libraries for %{name}.
    2638
    2739%prep
    2840%setup -q
    29 # Used if virtual name != real name (perl, ...)
    30 #%setup -q -n %{srcname}-%{version}
    31 #PBPATCHCMD
    3241
    3342%build
    34 %configure
     43#configure
    3544make %{?_smp_mflags}
     45
     46#check
     47#make check
    3648
    3749%install
     
    4557%defattr(-,root,root)
    4658%doc ChangeLog
    47 %doc INSTALL COPYING README AUTHORS NEWS
     59%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     60#INSTALL README
     61
     62%files -n %{libname}
     63%defattr(-,root,root)
     64%doc ChangeLog
     65%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     66#%{_libdir}/*.so*
     67/usr/lib/*.so*
     68
     69%files -n %{develname}
     70%defattr(-,root,root)
     71%doc ChangeLog
     72%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     73%{_includedir}/*
    4874
    4975%changelog
    5076PBLOG
    51 
Note: See TracChangeset for help on using the changeset viewer.